Skip to content

Commit

Permalink
Use correct account for mixed ticket split txns.
Browse files Browse the repository at this point in the history
This was accidentally changed during the move to peer-to-peer mixing.
  • Loading branch information
jholdstock authored and jrick committed Sep 13, 2024
1 parent 9c60532 commit 532aa67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wallet/createtx.go
Original file line number Diff line number Diff line change
Expand Up @@ -1065,7 +1065,7 @@ func (w *Wallet) mixedSplit(ctx context.Context, req *PurchaseTicketsRequest, ne
if change != nil && dcrutil.Amount(change.Value) < smallestMixChange(relayFee) {
change = nil
}
gen := w.makeGen(ctx, req.MixedAccount, req.MixedAccountBranch)
gen := w.makeGen(ctx, req.MixedSplitAccount, req.MixedAccountBranch)
expires := w.dicemixExpiry(ctx)
cj := mixclient.NewCoinJoin(gen, change, int64(neededPerTicket), expires, uint32(req.Count))
for i, in := range atx.Tx.TxIn {
Expand Down

0 comments on commit 532aa67

Please sign in to comment.