From 9ad9eb083be4e1a834f2a91c581259d86a8f493a Mon Sep 17 00:00:00 2001 From: Victor Shyba Date: Wed, 1 Aug 2018 15:32:51 -0300 Subject: [PATCH] fix integration test NBO encoding --- tests/integration/wallet/test_transactions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/wallet/test_transactions.py b/tests/integration/wallet/test_transactions.py index e40be1ba5..8ef1e6708 100644 --- a/tests/integration/wallet/test_transactions.py +++ b/tests/integration/wallet/test_transactions.py @@ -60,7 +60,7 @@ class BasicTransactionTest(IntegrationTestCase): cert, key = generate_certificate() cert_tx = await d2f(Transaction.claim(b'@bar', cert, 1*COIN, address1, [self.account], self.account)) claim = ClaimDict.load_dict(example_claim_dict) - claim = claim.sign(key, address1, hexlify(cert_tx.get_claim_id(0))) + claim = claim.sign(key, address1, hexlify(cert_tx.get_claim_id(0)[::-1])) claim_tx = await d2f(Transaction.claim(b'foo', claim, 1*COIN, address1, [self.account], self.account)) await self.broadcast(cert_tx)