Skip to content

Commit

Permalink
<fix>(tars): Fix callback_broadcastPushTransaction_exception(3.7.2) (F…
Browse files Browse the repository at this point in the history
  • Loading branch information
JimmyShi22 authored Apr 16, 2024
1 parent d5d66cf commit 9506939
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 9506939

Please sign in to comment.