mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-05 20:28:23 +00:00
dont include fees
This commit is contained in:
+2
-2
@@ -64,8 +64,8 @@ async def send(amount: int, unit: str, mint_url: str | None = None) -> tuple[int
|
|||||||
await wallet.load_proofs()
|
await wallet.load_proofs()
|
||||||
proofs = wallet._get_proofs_per_keyset(wallet.proofs)[wallet.keyset_id]
|
proofs = wallet._get_proofs_per_keyset(wallet.proofs)[wallet.keyset_id]
|
||||||
|
|
||||||
send_proofs, fees = await wallet.select_to_send(
|
send_proofs, _ = await wallet.select_to_send(
|
||||||
proofs, amount, set_reserved=True, include_fees=True
|
proofs, amount, set_reserved=True, include_fees=False
|
||||||
)
|
)
|
||||||
token = await wallet.serialize_proofs(
|
token = await wallet.serialize_proofs(
|
||||||
send_proofs, include_dleq=False, legacy=False, memo=None
|
send_proofs, include_dleq=False, legacy=False, memo=None
|
||||||
|
|||||||
Reference in New Issue
Block a user