File tree Expand file tree Collapse file tree 1 file changed +0
-12
lines changed
Expand file tree Collapse file tree 1 file changed +0
-12
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 "
You can’t perform that action at this time.
0 commit comments