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
|
// check if it misses send or receive configs
|
||||||
const isReadyToSend = canSend && isConfigured({ fields: walletDef.fields, config: newConfig, clientOnly: true })
|
const isReadyToSend = canSend && isConfigured({ fields: walletDef.fields, config: newConfig, clientOnly: true })
|
||||||
const isReadyToReceive = canReceive && isConfigured({ fields: walletDef.fields, config: newConfig, serverOnly: 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 client config', newClientConfig)
|
||||||
// console.log('New server config', newServerConfig)
|
// console.log('New server config', newServerConfig)
|
||||||
|
@ -323,6 +323,7 @@ function useConfig (walletDef) {
|
||||||
settings: {
|
settings: {
|
||||||
autoWithdrawThreshold: Number(autoWithdrawThreshold == null ? autowithdrawSettings.autoWithdrawThreshold : autoWithdrawThreshold),
|
autoWithdrawThreshold: Number(autoWithdrawThreshold == null ? autowithdrawSettings.autoWithdrawThreshold : autoWithdrawThreshold),
|
||||||
autoWithdrawMaxFeePercent: Number(autoWithdrawMaxFeePercent == null ? autowithdrawSettings.autoWithdrawMaxFeePercent : autoWithdrawMaxFeePercent),
|
autoWithdrawMaxFeePercent: Number(autoWithdrawMaxFeePercent == null ? autowithdrawSettings.autoWithdrawMaxFeePercent : autoWithdrawMaxFeePercent),
|
||||||
|
autoWithdrawMaxFeeTotal: Number(autoWithdrawMaxFeeTotal == null ? autowithdrawSettings.autoWithdrawMaxFeeTotal : autoWithdrawMaxFeeTotal),
|
||||||
priority,
|
priority,
|
||||||
enabled
|
enabled
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue