refactor: replace custom field function with const and move update trade logic inside a function
This commit is contained in:
parent
f45c783876
commit
8567b7887c
6 changed files with 25 additions and 19 deletions
|
|
@ -19,6 +19,4 @@ const loadConfig = (account) => {
|
|||
return { ...mapped, timeout: 3000 }
|
||||
}
|
||||
|
||||
const loadTradeId = (options, id) => _.assign({}, options)
|
||||
|
||||
module.exports = { loadTradeId, loadConfig, REQUIRED_CONFIG_FIELDS, CRYPTO, FIAT, ORDER_TYPE, AMOUNT_PRECISION }
|
||||
module.exports = { loadConfig, REQUIRED_CONFIG_FIELDS, CRYPTO, FIAT, ORDER_TYPE, AMOUNT_PRECISION }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue