diff options
author | Anthony Towns <aj@erisian.com.au> | 2022-11-22 01:39:32 +1000 |
---|---|---|
committer | Anthony Towns <aj@erisian.com.au> | 2023-01-25 18:13:42 +1000 |
commit | be2304676bedcd15debcdc694549fdd2b255ba62 (patch) | |
tree | db3646c6daeedeb178905e8527e1311fea2bb722 /src/txorphanage.h | |
parent | a4fe09973aa82210b98dcb4e4e9f11ef59780f9b (diff) |
txorphange: Drop redundant originator arg from GetTxToReconsider
Diffstat (limited to 'src/txorphanage.h')
-rw-r--r-- | src/txorphanage.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/txorphanage.h b/src/txorphanage.h index e8767fddc5..55c02976dd 100644 --- a/src/txorphanage.h +++ b/src/txorphanage.h @@ -29,11 +29,11 @@ public: /** Extract a transaction from a peer's work set * Returns nullptr and sets more to false if there are no transactions * to work on. Otherwise returns the transaction reference, removes - * the transaction from the work set, and populates its arguments with - * the originating peer, and whether there are more orphans for this peer + * the transaction from the work set, and sets "more" to indicate + * if there are more orphans for this peer * to work on after this tx. */ - CTransactionRef GetTxToReconsider(NodeId peer, NodeId& originator, bool& more) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex); + CTransactionRef GetTxToReconsider(NodeId peer, bool& more) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex); /** Erase an orphan by txid */ int EraseTx(const uint256& txid) EXCLUSIVE_LOCKS_REQUIRED(!m_mutex); |