Skip to content

Commit

Permalink
immediate does not disable split (fixup make split default enabled co…
Browse files Browse the repository at this point in the history
…mmit)
  • Loading branch information
chappjc committed Feb 14, 2023
1 parent e8af8b0 commit e83807f
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/asset/dcr/dcr.go
Original file line number Diff line number Diff line change
Expand Up @@ -1829,9 +1829,6 @@ func (dcr *ExchangeWallet) FundOrder(ord *asset.Order) (asset.Coins, []dex.Bytes
if customCfg.Split != nil {
useSplit = *customCfg.Split
}
if ord.Immediate {
useSplit = false
}

changeForReserves := useSplit && cfg.unmixedAccount == ""
reserves := dcr.reserves()
Expand Down

0 comments on commit e83807f

Please sign in to comment.