Skip to content

Commit

Permalink
add extra logging for database::process_funds routine
Browse files Browse the repository at this point in the history
  • Loading branch information
ABW committed Jan 27, 2025
1 parent 01ddc19 commit c5a34eb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libraries/chain/database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2769,6 +2769,10 @@ void database::process_funds()
adjust_balance( get_treasury_name(), new_hbd );
}

ilog( "PROCESS_FUNDS: ${all}, ${cr}, ${vr}, ${dhf}, ${dhf_hbd}, ${wr}",
( "all", new_hive.value )( "cr", content_reward.value )( "vr", vesting_reward.value )
( "dhf", dhf_new_funds.value )( "dhf_hbd", new_hbd.amount.value )( "wr", witness_reward.value ) );

new_hive = content_reward + vesting_reward + witness_reward;

modify( props, [&]( dynamic_global_property_object& p )
Expand Down

0 comments on commit c5a34eb

Please sign in to comment.