diff --git a/wallet/createtx.go b/wallet/createtx.go index d36a4b0cd..4a6eecb0a 100644 --- a/wallet/createtx.go +++ b/wallet/createtx.go @@ -1552,7 +1552,7 @@ func (w *Wallet) purchaseTickets(ctx context.Context, op errors.Op, addrVote = w.ticketAddress } if addrVote == nil { - addrVote, _, err = stakeAddrFunc(op, req.VotingAccount, 1) + addrVote, _, err = stakeAddrFunc(op, req.SourceAccount, 1) if err != nil { return nil, err }