diff options
author | Matt Corallo <git@bluematt.me> | 2017-08-05 13:48:37 -0400 |
---|---|---|
committer | Matt Corallo <git@bluematt.me> | 2017-08-06 21:40:56 -0400 |
commit | 01699fb283485918478017331872c75817b81bdb (patch) | |
tree | 60801a38d7872abaca38bd6a73288292ae0f9c77 /src/wallet/wallet.cpp | |
parent | a9dd11144152bf40fa797cc0b0c8857c03d3ad6a (diff) | |
download | bitcoin-01699fb283485918478017331872c75817b81bdb.tar.xz |
Fix resendwallettransactions assert failure if -walletbroadcast=0
Diffstat (limited to 'src/wallet/wallet.cpp')
-rw-r--r-- | src/wallet/wallet.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/wallet.cpp b/src/wallet/wallet.cpp index d236b1de3f..18cc3bd028 100644 --- a/src/wallet/wallet.cpp +++ b/src/wallet/wallet.cpp @@ -1868,6 +1868,7 @@ std::vector<uint256> CWallet::ResendWalletTransactionsBefore(int64_t nTime, CCon std::vector<uint256> result; LOCK(cs_wallet); + // Sort them in chronological order std::multimap<unsigned int, CWalletTx*> mapSorted; for (std::pair<const uint256, CWalletTx>& item : mapWallet) |