This commit is contained in:
callebtc
2023-01-14 20:20:06 +01:00
3 changed files with 17 additions and 6 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