forked from lthn/blockchain
wallets_manager::get_alias_coast() was ALSO fixed to provide exact alias cost, which is necessary for post-HF4
This commit is contained in:
parent
a0b09a6b78
commit
d0811e6a22
1 changed files with 1 additions and 2 deletions
|
|
@ -1394,9 +1394,8 @@ std::string wallets_manager::get_alias_coast(const std::string& a, uint64_t& coa
|
|||
if (!m_rpc_proxy->call_COMMAND_RPC_GET_ALIAS_REWARD(req, rsp))
|
||||
return API_RETURN_CODE_BAD_ARG;
|
||||
|
||||
coast = rsp.reward + rsp.reward/10; //add 10% of price to be sure
|
||||
coast = rsp.reward;
|
||||
return rsp.status;
|
||||
|
||||
}
|
||||
|
||||
std::string wallets_manager::request_alias_registration(const currency::alias_rpc_details& al, uint64_t wallet_id, uint64_t fee, currency::transaction& res_tx, uint64_t reward)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue