Skip to content

Commit

Permalink
fix 12709
Browse files Browse the repository at this point in the history
Signed-off-by: pasta <pasta@dashboost.org>
  • Loading branch information
PastaPastaPasta committed Jun 13, 2020
1 parent 8790861 commit 14bd5dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet/rpcwallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ UniValue sendmany(const JSONRPCRequest& request)
throw JSONRPCError(RPC_WALLET_INSUFFICIENT_FUNDS, "Account has insufficient funds");

// Shuffle recipient list
std::shuffle(vecSend.begin(), vecSend.end(), FastRandomContext());
std::random_shuffle(vecSend.begin(), vecSend.end(), FastRandomContext());

// Send
CReserveKey keyChange(pwallet);
Expand Down

0 comments on commit 14bd5dc

Please sign in to comment.