forked from lthn/blockchain
fixed simplewallet
This commit is contained in:
parent
7497d68b48
commit
7d1e7521bc
1 changed files with 4 additions and 4 deletions
|
|
@ -2116,10 +2116,10 @@ bool simple_wallet::generate_ionic_swap_proposal(const std::vector<std::string>
|
|||
fail_msg_writer() << "Failed to load json file with asset specification: " << args[0];
|
||||
return true;
|
||||
}
|
||||
if (proposal_info.expiration_time == 0)
|
||||
{
|
||||
proposal_info.expiration_time = m_wallet->get_core_runtime_config().get_core_time() + 10 * 60;
|
||||
}
|
||||
// if (proposal_info.expiration_time == 0)
|
||||
// {
|
||||
// proposal_info.expiration_time = m_wallet->get_core_runtime_config().get_core_time() + 10 * 60;
|
||||
// }
|
||||
currency::account_public_address destination_addr = AUTO_VAL_INIT(destination_addr);
|
||||
currency::payment_id_t integrated_payment_id;
|
||||
if (!m_wallet->get_transfer_address(args[1], destination_addr, integrated_payment_id))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue