forked from LBRYCommunity/lbry-sdk
add sleep to transaction show test per jack suggestion
This commit is contained in:
parent
fba7fc7aba
commit
9279865078
1 changed files with 2 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import asyncio
|
||||
import unittest
|
||||
|
||||
from lbry.testcase import CommandTestCase
|
||||
|
@ -28,6 +29,7 @@ class TransactionCommandsTestCase(CommandTestCase):
|
|||
# someone's tx
|
||||
change_address = await self.blockchain.get_raw_change_address()
|
||||
sendtxid = await self.blockchain.send_to_address(change_address, 10)
|
||||
await asyncio.sleep(0.2)
|
||||
tx = await self.daemon.jsonrpc_transaction_show(sendtxid)
|
||||
self.assertEqual(tx.id, sendtxid)
|
||||
self.assertEqual(tx.height, -1)
|
||||
|
|
Loading…
Reference in a new issue