From 01699fb283485918478017331872c75817b81bdb Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sat, 5 Aug 2017 13:48:37 -0400 Subject: Fix resendwallettransactions assert failure if -walletbroadcast=0 --- src/wallet/wallet.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wallet/wallet.cpp') 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 CWallet::ResendWalletTransactionsBefore(int64_t nTime, CCon std::vector result; LOCK(cs_wallet); + // Sort them in chronological order std::multimap mapSorted; for (std::pair& item : mapWallet) -- cgit v1.2.3