test framework, wallet: rename get_scriptPubKey method to get_output_script
This commit is contained in:
1 parent
fa0232a3e0
commit
723440c5b8
5 files changed
+6
-6
No files matched your search
@@ -422,8 +422,8 @@ class BlockchainTest(BitcoinTestFramework):
|
||||
assert_equal(txout['confirmations'], 1)
|
||||
assert_equal(txout['value'], 25)
|
||||
assert_equal(txout['scriptPubKey']['address'], self.wallet.get_address())
|
||||
assert_equal(txout['scriptPubKey']['hex'], self.wallet.get_scriptPubKey().hex())
|
||||
decoded_script = node.decodescript(self.wallet.get_scriptPubKey().hex())
|
||||
assert_equal(txout['scriptPubKey']['hex'], self.wallet.get_output_script().hex())
|
||||
decoded_script = node.decodescript(self.wallet.get_output_script().hex())
|
||||
assert_equal(txout['scriptPubKey']['asm'], decoded_script['asm'])
|
||||
assert_equal(txout['scriptPubKey']['desc'], decoded_script['desc'])
|
||||
assert_equal(txout['scriptPubKey']['type'], decoded_script['type'])
|
||||
|
||||
Reference in new issue
Block a user