commit c79de3ab3c7531ab6d45c8c92b6ada0c620daf09
parent c0ae266d39786662fee5ae9d03788e2d4d372b14
Author: SomberNight <somber.night@protonmail.com>
Date: Fri, 16 Mar 2018 22:06:38 +0100
fix #4139
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/network.py b/lib/network.py
@@ -563,7 +563,7 @@ class Network(util.DaemonThread):
self.notify('fee')
elif method == 'blockchain.relayfee':
if error is None:
- self.relay_fee = int(result * COIN)
+ self.relay_fee = int(result * COIN) if result is not None else None
self.print_error("relayfee", self.relay_fee)
elif method == 'blockchain.block.get_chunk':
self.on_get_chunk(interface, response)