fix resolve
This commit is contained in:
parent
c4273fbef0
commit
e36610d63c
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue