mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-12-01 20:05:43 +03:00
Fix RL test
This commit is contained in:
parent
9c8d9abb48
commit
a270a2cc6b
@ -51,9 +51,7 @@ async def print_balances(wallet_client):
|
||||
print(
|
||||
f" -Unconfirmed: {balances['unconfirmed_wallet_balance']/units['chia']} TXCH"
|
||||
)
|
||||
print(
|
||||
f" -Spendable: {balances['spendable_balance']/units['chia']} TXCH"
|
||||
)
|
||||
print(f" -Spendable: {balances['spendable_balance']/units['chia']} TXCH")
|
||||
print(f" -Frozen: {balances['frozen_balance']/units['chia']} TXCH")
|
||||
print(
|
||||
f" -Pending change: {balances['pending_change']/units['chia']} TXCH"
|
||||
|
@ -113,15 +113,10 @@ class TestCCWallet:
|
||||
|
||||
await time_out_assert(15, check_balance, 100, api_user, user_wallet_id)
|
||||
receiving_wallet = wallet_node_2.wallet_state_manager.main_wallet
|
||||
puzzle_hash = encode_puzzle_hash(await receiving_wallet.get_new_puzzlehash())
|
||||
address = encode_puzzle_hash(await receiving_wallet.get_new_puzzlehash())
|
||||
assert await receiving_wallet.get_spendable_balance() == 0
|
||||
val = await api_user.send_transaction(
|
||||
{
|
||||
"wallet_id": user_wallet_id,
|
||||
"amount": 3,
|
||||
"fee": 0,
|
||||
"puzzle_hash": puzzle_hash,
|
||||
}
|
||||
{"wallet_id": user_wallet_id, "amount": 3, "fee": 0, "address": address}
|
||||
)
|
||||
assert "transaction_id" in val
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user