monero-python icon indicating copy to clipboard operation
monero-python copied to clipboard

relay transfer

Open euri10 opened this issue 3 years ago • 0 comments

in https://github.com/monero-ecosystem/monero-python/blob/3f3a4cdc2a92a088172266d1916fbf2f59c23f2d/monero/backends/jsonrpc/wallet.py#L313 I think passing relay=True to the transfer method should set get_tx_metadata to the same value as do_not_relay so that one is able to use it afterwards and relay the transaction.

also I noticed that while unlock_time is configurable and default to 0 it is hardcoded in the data dict pass down, see https://github.com/monero-ecosystem/monero-python/blob/3f3a4cdc2a92a088172266d1916fbf2f59c23f2d/monero/backends/jsonrpc/wallet.py#L309

euri10 avatar Oct 04 '22 04:10 euri10