From 998765749d944ef792f57be4abdf312006a26cd7 Mon Sep 17 00:00:00 2001 From: Alfredo Date: Tue, 31 Jul 2018 14:34:35 -0300 Subject: [PATCH] remkove not needed budget_record_object creation from maint --- libraries/chain/db_maint.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/libraries/chain/db_maint.cpp b/libraries/chain/db_maint.cpp index 3b0ab4c417..f8690cf6d2 100644 --- a/libraries/chain/db_maint.cpp +++ b/libraries/chain/db_maint.cpp @@ -33,7 +33,6 @@ #include #include -#include #include #include #include @@ -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. }