Open euri10 opened 2 years ago
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.
relay=True
get_tx_metadata
do_not_relay
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
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 setget_tx_metadata
to the same value asdo_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