Fix debug mode build
This commit is contained in:
parent
a2b6f1a741
commit
f8bb0b4008
1 changed files with 2 additions and 0 deletions
|
|
@ -68,6 +68,8 @@ void account_statistics_object::process_fees(const account_object& a, database&
|
|||
assert( network_cut <= core_fee_total );
|
||||
|
||||
#ifndef NDEBUG
|
||||
const auto& props = d.get_global_properties();
|
||||
|
||||
share_type reserveed = cut_fee(network_cut, props.parameters.reserve_percent_of_fee);
|
||||
share_type accumulated = network_cut - reserveed;
|
||||
assert( accumulated + reserveed == network_cut );
|
||||
|
|
|
|||
Loading…
Reference in a new issue