Skip to content

Commit 7a31751

Browse files
authored
assign mixedSplitAccount for rpc tickets
1 parent f314a44 commit 7a31751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/rpc/jsonrpc/methods.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3367,7 +3367,7 @@ func (s *Server) purchaseTicket(ctx context.Context, icmd any) (any, error) {
33673367
return nil, rpcErrorf(dcrjson.ErrRPCInvalidParameter,
33683368
"MixedAccountBranch should be 0 or 1.")
33693369
}
3370-
_, err = w.AccountNumber(ctx, s.cfg.TicketSplitAccount)
3370+
mixedSplitAccount, err = w.AccountNumber(ctx, s.cfg.TicketSplitAccount)
33713371
if err != nil {
33723372
return nil, rpcErrorf(dcrjson.ErrRPCInvalidParameter,
33733373
"CSPP Server set, but error on mixedSplitAccount: %v", err)

0 commit comments

Comments
 (0)