Fix debug mode build

This commit is contained in:
theoreticalbts 2015-09-21 10:52:45 -04:00
parent a2b6f1a741
commit f8bb0b4008

View file

@ -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 );