mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-15 16:38:23 +01:00
test framework, wallet: rename get_scriptPubKey method to get_output_script
This commit is contained in:
@@ -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