test framework, wallet: rename get_scriptPubKey method to get_output_script

This commit is contained in:
Alfonso Roman Zubeldia
2025-01-24 14:57:36 -03:00
parent fa0232a3e0
commit 723440c5b8
5 changed files with 6 additions and 6 deletions

View File

@@ -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'])