aboutsummaryrefslogtreecommitdiff
path: root/test/functional/rpc_psbt.py
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2019-03-09 14:50:44 +0800
committerfanquake <fanquake@gmail.com>2019-03-12 07:17:42 +0800
commit335931df4a37467299a2ee0ba521ecd5c4e6d39e (patch)
tree90ffc5409d6f1824f1fcdf648860512570b4de4f /test/functional/rpc_psbt.py
parenta4d0fd026b74db034dc8a1fa7efbd4f1dba8cdb9 (diff)
downloadbitcoin-335931df4a37467299a2ee0ba521ecd5c4e6d39e.tar.xz
rpc: return a number for estimated_feerate in analyzepsbt
Diffstat (limited to 'test/functional/rpc_psbt.py')
-rwxr-xr-xtest/functional/rpc_psbt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/rpc_psbt.py b/test/functional/rpc_psbt.py
index 885e07c4dd..904ddac428 100755
--- a/test/functional/rpc_psbt.py
+++ b/test/functional/rpc_psbt.py
@@ -355,7 +355,7 @@ class PSBTTest(BitcoinTestFramework):
assert analyzed['inputs'][0]['has_utxo'] and not analyzed['inputs'][0]['is_final'] and analyzed['inputs'][0]['next'] == 'signer' and analyzed['next'] == 'signer' and analyzed['inputs'][0]['missing']['signatures'][0] == addrinfo['embedded']['witness_program']
# Check fee and size things
- assert analyzed['fee'] == Decimal('0.001') and analyzed['estimated_vsize'] == 134 and analyzed['estimated_feerate'] == '0.00746268 BTC/kB'
+ assert analyzed['fee'] == Decimal('0.001') and analyzed['estimated_vsize'] == 134 and analyzed['estimated_feerate'] == Decimal('0.00746268')
# After signing and finalizing, needs extracting
signed = self.nodes[1].walletprocesspsbt(updated)['psbt']