Skip to content

Commit e9848f7

Browse files
committed
Adapt to node error code changes.
1 parent b922cc8 commit e9848f7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/protocols/electrum/protocol_electrum_fees.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,9 @@ void protocol_electrum::complete_estimate_fee(const code& ec,
8585
return;
8686

8787
const auto disabled =
88-
ec == node::error::estimate_failed ||
89-
ec == node::error::estimates_disabled ||
90-
ec == node::error::estimates_premature;
88+
ec == node::error::estimate_false ||
89+
ec == node::error::estimate_disabled ||
90+
ec == node::error::estimate_premature;
9191

9292
if (!disabled && ec)
9393
{

0 commit comments

Comments
 (0)