diff --git a/tests/integration/wallet/test_commands.py b/tests/integration/wallet/test_commands.py index 11b1a8428..47de5f91d 100644 --- a/tests/integration/wallet/test_commands.py +++ b/tests/integration/wallet/test_commands.py @@ -757,7 +757,7 @@ class TransactionCommandsTestCase(CommandTestCase): sendtxid = await self.blockchain.send_to_address(change_address, 10) tx = await self.daemon.jsonrpc_transaction_show(sendtxid) self.assertEqual(tx.id, sendtxid) - self.assertEqual(tx.height, -1) + self.assertEqual(tx.height, -2) await self.generate(1) tx = await self.daemon.jsonrpc_transaction_show(sendtxid) self.assertEqual(tx.height, self.ledger.headers.height)