tUpdate test case for estimatefee. - obelisk - Electrum server using libbitcoin as its backend
HTML git clone https://git.parazyd.org/obelisk
DIR Log
DIR Files
DIR Refs
DIR README
DIR LICENSE
---
DIR commit 7f314d346e068d73189e5517b5a0c7ca0e7e7568
DIR parent 5b51e65826db240e46b2bd12eaf75bbe96e8e710
HTML Author: parazyd <parazyd@dyne.org>
Date: Thu, 6 May 2021 18:45:01 +0200
Update test case for estimatefee.
Diffstat:
M tests/test_electrum_protocol.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
DIR diff --git a/tests/test_electrum_protocol.py b/tests/test_electrum_protocol.py
t@@ -140,7 +140,7 @@ async def test_block_headers(protocol, writer, method):
async def test_estimatefee(protocol, writer, method):
params = [2]
- expect = -1
+ expect = 0.00001
data = await protocol.estimatefee(writer, {"params": params})
assert_equal(data["result"], expect)