Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Added get_tx_metadata when transaction is not relayed #124

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Same changes to sweep_all
  • Loading branch information
euri10 committed Oct 4, 2022
commit 2db2aae4ff111e1ce5687168c818866e0282526b
3 changes: 2 additions & 1 deletion monero/backends/jsonrpc/wallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,10 +362,11 @@ def sweep_all(
"address": str(address(destination)),
"subaddr_indices": list(subaddr_indices),
"priority": priority,
"unlock_time": 0,
"unlock_time": unlock_time,
"get_tx_keys": True,
"get_tx_hex": True,
"do_not_relay": not relay,
"get_tx_metadata": not relay
}
if payment_id is not None:
data["payment_id"] = str(PaymentID(payment_id))
Expand Down