Skip to content

Commit

Permalink
Fix listtransactions
Browse files Browse the repository at this point in the history
  • Loading branch information
akshaynexus authored Apr 12, 2019
1 parent 254f3c0 commit 928cde5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ bool CWallet::AddToWallet(const CWalletTx& wtxIn, bool fFromLoadWallet)
if (fInsertedNew) {
wtx.nTimeReceived = GetAdjustedTime();
wtx.nOrderPos = IncOrderPosNext();

wtxOrdered.insert(make_pair(wtx.nOrderPos, TxPair(&wtx, (CAccountingEntry*)0)));
wtx.nTimeSmart = ComputeTimeSmart(wtx);
AddToSpends(hash);
}
Expand Down

0 comments on commit 928cde5

Please sign in to comment.