fix missing field from merge conflict resolution
This commit is contained in:
parent
4e61c19bb3
commit
b61c957cc7
|
@ -293,7 +293,7 @@ function useConfig (walletDef) {
|
|||
// check if it misses send or receive configs
|
||||
const isReadyToSend = canSend && isConfigured({ fields: walletDef.fields, config: newConfig, clientOnly: true })
|
||||
const isReadyToReceive = canReceive && isConfigured({ fields: walletDef.fields, config: newConfig, serverOnly: true })
|
||||
const { autoWithdrawThreshold, autoWithdrawMaxFeePercent, priority, enabled } = newConfig
|
||||
const { autoWithdrawThreshold, autoWithdrawMaxFeePercent, autoWithdrawMaxFeeTotal, priority, enabled } = newConfig
|
||||
|
||||
// console.log('New client config', newClientConfig)
|
||||
// console.log('New server config', newServerConfig)
|
||||
|
@ -323,6 +323,7 @@ function useConfig (walletDef) {
|
|||
settings: {
|
||||
autoWithdrawThreshold: Number(autoWithdrawThreshold == null ? autowithdrawSettings.autoWithdrawThreshold : autoWithdrawThreshold),
|
||||
autoWithdrawMaxFeePercent: Number(autoWithdrawMaxFeePercent == null ? autowithdrawSettings.autoWithdrawMaxFeePercent : autoWithdrawMaxFeePercent),
|
||||
autoWithdrawMaxFeeTotal: Number(autoWithdrawMaxFeeTotal == null ? autowithdrawSettings.autoWithdrawMaxFeeTotal : autoWithdrawMaxFeeTotal),
|
||||
priority,
|
||||
enabled
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue