Skip to content

Commit e45749a

Browse files
jholdstockjrick
authored andcommitted
[release-v2.0] Use correct account for mixed ticket split txns.
This was accidentally changed during the move to peer-to-peer mixing. Backport of 532aa67.
1 parent 8c66062 commit e45749a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

wallet/createtx.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1106,7 +1106,7 @@ func (w *Wallet) mixedSplit(ctx context.Context, req *PurchaseTicketsRequest, ne
11061106
if change != nil && dcrutil.Amount(change.Value) < smallestMixChange(relayFee) {
11071107
change = nil
11081108
}
1109-
gen := w.makeGen(ctx, req.MixedAccount, req.MixedAccountBranch)
1109+
gen := w.makeGen(ctx, req.MixedSplitAccount, req.MixedAccountBranch)
11101110
expires := w.dicemixExpiry(ctx)
11111111
cj := mixclient.NewCoinJoin(gen, change, int64(neededPerTicket), expires, uint32(req.Count))
11121112
for i, in := range atx.Tx.TxIn {

0 commit comments

Comments
 (0)