claim integration test fixes
This commit is contained in:
parent
814eaca524
commit
0592cee567
2 changed files with 4 additions and 1 deletions
|
@ -314,5 +314,8 @@ class LbryWalletManager(BaseWalletManager):
|
||||||
block_hash = self.ledger.headers.hash(height).decode()
|
block_hash = self.ledger.headers.hash(height).decode()
|
||||||
return self.ledger.network.get_block(block_hash)
|
return self.ledger.network.get_block(block_hash)
|
||||||
|
|
||||||
|
def get_claim_by_claim_id(self, claim_id):
|
||||||
|
return self.ledger.get_claim_by_claim_id(claim_id)
|
||||||
|
|
||||||
def get_claim_by_outpoint(self, txid, nout):
|
def get_claim_by_outpoint(self, txid, nout):
|
||||||
return self.ledger.get_claim_by_outpoint(txid, nout)
|
return self.ledger.get_claim_by_outpoint(txid, nout)
|
||||||
|
|
|
@ -300,7 +300,7 @@ class ClaimCommands(CommandTestCase):
|
||||||
await self.out(self.create_channel('@spam', '1.0'))
|
await self.out(self.create_channel('@spam', '1.0'))
|
||||||
self.assertEqual('8.989893', await self.daemon.jsonrpc_account_balance())
|
self.assertEqual('8.989893', await self.daemon.jsonrpc_account_balance())
|
||||||
|
|
||||||
result = await self.out(self.daemon.jsonrpc_wallet_send(
|
result = await self.out(self.daemon.jsonrpc_account_send(
|
||||||
'5.0', await self.daemon.jsonrpc_address_unused(account2_id)
|
'5.0', await self.daemon.jsonrpc_address_unused(account2_id)
|
||||||
))
|
))
|
||||||
await self.confirm_tx(result['txid'])
|
await self.confirm_tx(result['txid'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue