diff --git a/jmclient/jmclient/blockchaininterface.py b/jmclient/jmclient/blockchaininterface.py index d904ec9..a44c13f 100644 --- a/jmclient/jmclient/blockchaininterface.py +++ b/jmclient/jmclient/blockchaininterface.py @@ -788,7 +788,7 @@ class BitcoinCoreInterface(BlockchainInterface): # Special bitcoin core case: sometimes the highest priority # cannot be estimated in that case the 2nd highest priority # should be used instead of falling back to hardcoded values - estimate = Decimal(1e8) * Decimal(self.rpc('estimatefee', [N+1])) + estimate = int(Decimal(1e8) * Decimal(self.rpc('estimatefee', [N+1]))) if estimate < 0: # This occurs when Core has insufficient data to estimate. return 100000