Skip to content

Commit

Permalink
Merge branch 'master' into feature/accounthistory
Browse files Browse the repository at this point in the history
  • Loading branch information
monstrobishi authored Dec 15, 2020
2 parents fede87c + eadcd09 commit 555df12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/masternodes/mn_rpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3696,7 +3696,7 @@ UniValue sendtokenstoaddress(const JSONRPCRequest& request) {
CCoinsViewCache coinview(&::ChainstateActive().CoinsTip());
if (optAuthTx)
AddCoins(coinview, *optAuthTx, targetHeight);
const auto res = ApplyAnyAccountsToAccountsTx(mnview_dummy, g_chainstate->CoinsTip(), CTransaction(rawTx), targetHeight,
const auto res = ApplyAnyAccountsToAccountsTx(mnview_dummy, coinview, CTransaction(rawTx), targetHeight,
ToByteVector(CDataStream{SER_NETWORK, PROTOCOL_VERSION, msg}), Params().GetConsensus());
if (!res.ok) {
if (res.code == CustomTxErrCodes::NotEnoughBalance) {
Expand Down

0 comments on commit 555df12

Please sign in to comment.