fix tests

This commit is contained in:
callebtc
2023-01-11 03:41:11 +01:00
parent 5d1a539b02
commit db034a0e00
2 changed files with 6 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ async def test_split_to_send(wallet1: Wallet):
keep_proofs, spendable_proofs = await wallet1.split_to_send(
wallet1.proofs, 32, set_reserved=True
)
get_spendable = await wallet1._get_spendable_proofs(wallet1.proofs)
get_spendable = await wallet1._select_proofs_to_send(wallet1.proofs, 32)
assert keep_proofs == get_spendable
assert sum_proofs(spendable_proofs) == 32