forked from lthn/blockchain
fixed unsigned tx blob returning on "transfer" for WO-wallets (cold-signing)
This commit is contained in:
parent
50abfc82aa
commit
477f1dea73
1 changed files with 1 additions and 1 deletions
|
|
@ -4775,7 +4775,7 @@ void wallet2::transfer(const construct_tx_param& ctp,
|
|||
|
||||
if (m_watch_only)
|
||||
{
|
||||
bool r = store_unsigned_tx_to_file_and_reserve_transfers(ftp, "zano_tx_unsigned", p_signed_tx_blob_str);
|
||||
bool r = store_unsigned_tx_to_file_and_reserve_transfers(ftp, (p_unsigned_filename_or_tx_blob_str != nullptr ? *p_unsigned_filename_or_tx_blob_str : "zano_tx_unsigned"), p_unsigned_filename_or_tx_blob_str);
|
||||
WLT_THROW_IF_FALSE_WALLET_CMN_ERR_EX(r, "failed to store unsigned tx");
|
||||
WLT_LOG_GREEN("[wallet::transfer]" << " prepare_transaction_time: " << print_fixed_decimal_point(prepare_transaction_time, 3), LOG_LEVEL_0);
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue