From 98d83ea74f1b8b62836aab117656f87247bbc66a Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Wed, 5 Dec 2018 12:14:43 -0500 Subject: [PATCH] fix for integration test --- tests/integration/wallet/test_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)