mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-09 10:43:19 -05:00
refactor: revert m_next_resend to not be std::atomic
Since m_next_resend is now only called from MaybeResendWalletTxs() we don't have any potential race conditions anymore, so the usage of std::atomic can be reverted.
This commit is contained in:
parent
9245f45670
commit
b01682a812
1 changed files with 1 additions and 1 deletions
|
@ -250,7 +250,7 @@ private:
|
|||
int nWalletVersion GUARDED_BY(cs_wallet){FEATURE_BASE};
|
||||
|
||||
/** The next scheduled rebroadcast of wallet transactions. */
|
||||
std::atomic<int64_t> m_next_resend{GetDefaultNextResend()};
|
||||
int64_t m_next_resend{GetDefaultNextResend()};
|
||||
/** Whether this wallet will submit newly created transactions to the node's mempool and
|
||||
* prompt rebroadcasts (see ResendWalletTransactions()). */
|
||||
bool fBroadcastTransactions = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue