Skip to content

Commit

Permalink
Fix callback_broadcastPushTransaction_exception
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 committed Apr 16, 2024
1 parent d5d66cf commit 8a84a5a
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,10 @@ class TxPoolServiceClient : public bcos::txpool::TxPoolInterface
{
m_error = toBcosError(ret);
}
void callback_submit_exception(tars::Int32 ret) override { m_error = toBcosError(ret); }
void callback_broadcastTransaction_exception(tars::Int32 ret) override
{
m_error = toBcosError(ret);
}

bcos::Error::Ptr m_error;
};
Expand All @@ -139,7 +142,7 @@ class TxPoolServiceClient : public bcos::txpool::TxPoolInterface
BOOST_THROW_EXCEPTION(*error);
}
}
void callback_submit_exception(tars::Int32 ret) override
void callback_broadcastTransactionBuffer_exception(tars::Int32 ret) override
{
auto error = toBcosError(ret);
if (error)
Expand Down

0 comments on commit 8a84a5a

Please sign in to comment.