mirror of
https://github.com/vtnerd/monero-lws.git
synced 2024-11-17 09:47:38 +00:00
Remove server-side masking
This commit is contained in:
parent
1e32656152
commit
e007e6f505
1 changed files with 1 additions and 4 deletions
|
@ -541,11 +541,8 @@ namespace lws
|
|||
return {lws::error::bad_daemon_response};
|
||||
|
||||
const bool use_per_byte_fee = resp->size_scale == 1;
|
||||
const std::uint64_t base_fee = resp->estimated_base_fee;
|
||||
const std::uint64_t base_fee_masked =
|
||||
((base_fee + (resp->fee_mask - 1)) / resp->fee_mask) * resp->fee_mask;
|
||||
|
||||
return response{base_fee_masked, resp->fee_mask, rpc::safe_uint64(received), std::move(unspent), std::move(req.creds.key), use_per_byte_fee};
|
||||
return response{resp->estimated_base_fee, resp->fee_mask, rpc::safe_uint64(received), std::move(unspent), std::move(req.creds.key), use_per_byte_fee};
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue