Skip to content

Commit

Permalink
assign mixedSplitAccount for rpc tickets
Browse files Browse the repository at this point in the history
  • Loading branch information
buck54321 authored May 10, 2024
1 parent f314a44 commit 7a31751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/rpc/jsonrpc/methods.go
Original file line number Diff line number Diff line change
Expand Up @@ -3367,7 +3367,7 @@ func (s *Server) purchaseTicket(ctx context.Context, icmd any) (any, error) {
return nil, rpcErrorf(dcrjson.ErrRPCInvalidParameter,
"MixedAccountBranch should be 0 or 1.")
}
_, err = w.AccountNumber(ctx, s.cfg.TicketSplitAccount)
mixedSplitAccount, err = w.AccountNumber(ctx, s.cfg.TicketSplitAccount)
if err != nil {
return nil, rpcErrorf(dcrjson.ErrRPCInvalidParameter,
"CSPP Server set, but error on mixedSplitAccount: %v", err)
Expand Down

0 comments on commit 7a31751

Please sign in to comment.