File tree Expand file tree Collapse file tree 3 files changed +3
-15
lines changed
Expand file tree Collapse file tree 3 files changed +3
-15
lines changed Original file line number Diff line number Diff line change @@ -1020,18 +1020,6 @@ class ElectrumXClient {
10201020 ],
10211021 );
10221022 try {
1023- // If the response is -1 or null, return a temporary hardcoded value for
1024- // Dogecoin. This is a temporary fix until the fee estimation is fixed.
1025- if (coin == Coin .dogecoin &&
1026- (response == null ||
1027- response == - 1 ||
1028- Decimal .parse (response.toString ()) == Decimal .parse ("-1" ))) {
1029- // Return 0.05 for slow, 0.2 for average, and 1 for fast txs.
1030- // These numbers produce tx fees in line with txs in the wild on
1031- // https://dogechain.info/
1032- return Decimal .parse ((1 / blocks).toString ());
1033- // TODO [prio=med]: Fix fee estimation.
1034- }
10351023 return Decimal .parse (response.toString ());
10361024 } catch (e, s) {
10371025 final String msg = "Error parsing fee rate. Response: $response "
Original file line number Diff line number Diff line change @@ -528,8 +528,8 @@ packages:
528528 dependency: "direct main"
529529 description:
530530 path: "."
531- ref: "0a34f7f48d921fb33f551cb11dfc9b2930522240 "
532- resolved-ref: "0a34f7f48d921fb33f551cb11dfc9b2930522240 "
531+ ref: "2897c6448e131241d4d91fe23fdab83305134225 "
532+ resolved-ref: "2897c6448e131241d4d91fe23fdab83305134225 "
533533 url: "https://github.com/cypherstack/electrum_adapter.git"
534534 source: git
535535 version: "3.0.0"
Original file line number Diff line number Diff line change @@ -176,7 +176,7 @@ dependencies:
176176 electrum_adapter :
177177 git :
178178 url : https://github.com/cypherstack/electrum_adapter.git
179- ref : 0a34f7f48d921fb33f551cb11dfc9b2930522240
179+ ref : 2897c6448e131241d4d91fe23fdab83305134225
180180 stream_channel : ^2.1.0
181181
182182dev_dependencies :
You can’t perform that action at this time.
0 commit comments