Skip to content

Commit

Permalink
remkove not needed budget_record_object creation from maint
Browse files Browse the repository at this point in the history
  • Loading branch information
oxarbitrage committed Jul 31, 2018
1 parent 308ff52 commit 9987657
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions libraries/chain/db_maint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@

#include <graphene/chain/account_object.hpp>
#include <graphene/chain/asset_object.hpp>
#include <graphene/chain/budget_record_object.hpp>
#include <graphene/chain/buyback_object.hpp>
#include <graphene/chain/chain_property_object.hpp>
#include <graphene/chain/committee_member_object.hpp>
Expand Down Expand Up @@ -533,13 +532,7 @@ void database::process_budget()
_dpo.witness_budget = witness_budget;
_dpo.last_budget_time = now;
});

create< budget_record_object >( [&]( budget_record_object& _rec )
{
_rec.time = head_block_time();
_rec.record = rec;
});


// available_funds is money we could spend, but don't want to.
// we simply let it evaporate back into the reserve.
}
Expand Down

0 comments on commit 9987657

Please sign in to comment.