#325 Refactor importing BTC addresses into son-wallet #668

Merged
vampik merged 4 commits from feature/325-import-btc-addresses into develop 2022-03-21 14:50:03 +00:00
Showing only changes of commit 9132908283 - Show all commits

View file

@ -585,7 +585,7 @@ void bitcoin_rpc_client::importmulti(const std::vector<multi_params>& address_or
argument_1 += "\"" + param.address_or_script + "\"";
else
FC_THROW("Invalid multi_type.");
argument_1 += ", \"label\": \"" + param.label + "\", \"timestamp\": 0}";
argument_1 += ", \"label\": \"" + param.label + "\", \"timestamp\": " + std::to_string(HARDFORK_SON_TIME.sec_since_epoch()) + "}";
//! Note
/* Creation time of the key expressed in UNIX epoch time,