diff options
Diffstat (limited to 'src/txorphanage.cpp')
-rw-r--r-- | src/txorphanage.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/txorphanage.cpp b/src/txorphanage.cpp index 2dbc73cbca..31c6ff7106 100644 --- a/src/txorphanage.cpp +++ b/src/txorphanage.cpp @@ -174,7 +174,7 @@ bool TxOrphanage::HaveTx(const GenTxid& gtxid) const } } -CTransactionRef TxOrphanage::GetTxToReconsider(NodeId peer, NodeId& originator, bool& more) +CTransactionRef TxOrphanage::GetTxToReconsider(NodeId peer, bool& more) { LOCK(m_mutex); @@ -188,7 +188,6 @@ CTransactionRef TxOrphanage::GetTxToReconsider(NodeId peer, NodeId& originator, const auto orphan_it = m_orphans.find(txid); if (orphan_it != m_orphans.end()) { more = !work_set.empty(); - originator = orphan_it->second.fromPeer; return orphan_it->second.tx; } } |