diff --git a/lbrynet/tests/integration/wallet/test_transactions.py b/lbrynet/tests/integration/wallet/test_transactions.py index 8cfac6bf5..3aa59abcd 100644 --- a/lbrynet/tests/integration/wallet/test_transactions.py +++ b/lbrynet/tests/integration/wallet/test_transactions.py @@ -59,7 +59,8 @@ class ClaimTransactionTests(IntegrationTestCase): self.assertEqual(round(await self.get_balance(self.account)/COIN, 1), 10.0) - response = await self.resolve('lbry://foo') + header = self.ledger.headers[len(self.ledger.headers)-1] + response = await self.resolve(self.ledger.headers._hash_header(header), 'lbry://foo') print(response) diff --git a/lbrynet/wallet/network.py b/lbrynet/wallet/network.py index e2f832bc1..1f9de19dc 100644 --- a/lbrynet/wallet/network.py +++ b/lbrynet/wallet/network.py @@ -3,5 +3,5 @@ from torba.basenetwork import BaseNetwork class Network(BaseNetwork): - def get_values_for_uris(self, uris): - return self.rpc('blockchain.claimtrie.getvaluesforuris', uris) + def get_values_for_uris(self, block_hash, uris): + return self.rpc('blockchain.claimtrie.getvaluesforuris', block_hash, uris)