aboutsummaryrefslogtreecommitdiff
path: root/test/functional/wallet_create_tx.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/wallet_create_tx.py')
-rwxr-xr-xtest/functional/wallet_create_tx.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/wallet_create_tx.py b/test/functional/wallet_create_tx.py
index fb1ee3ae61..fa3e920c25 100755
--- a/test/functional/wallet_create_tx.py
+++ b/test/functional/wallet_create_tx.py
@@ -111,7 +111,7 @@ class CreateTxWalletTest(BitcoinTestFramework):
test_wallet.unloadwallet()
def test_version3(self):
- self.log.info('Check wallet does not create transactions with nVersion=3 yet')
+ self.log.info('Check wallet does not create transactions with version=3 yet')
wallet_rpc = self.nodes[0].get_wallet_rpc(self.default_wallet_name)
self.nodes[0].createwallet("v3")
@@ -124,7 +124,7 @@ class CreateTxWalletTest(BitcoinTestFramework):
# While v3 transactions are standard, the CURRENT_VERSION is 2.
# This test can be removed if CURRENT_VERSION is changed, and replaced with tests that the
# wallet handles v3 rules properly.
- assert_equal(tx_current_version.nVersion, 2)
+ assert_equal(tx_current_version.version, 2)
wallet_v3.unloadwallet()