Skip to content
Permalink
Browse files

cleaning couple warning on system contract

  • Loading branch information...
eedsilva committed Nov 5, 2018
1 parent 033bbf0 commit 45375d4a82ff03f7aa23a7154eba6089c9c6a818
Showing with 2 additions and 2 deletions.
  1. +1 −1 contracts/eosio.system/eosio.system.cpp
  2. +1 −1 contracts/eosio.system/producer_pay.cpp
@@ -15,8 +15,8 @@ namespace eosiosystem {
_producers(_self,_self),
_global(_self,_self),
_rotations(_self,_self),
_rammarket(_self,_self),
_schedule_metrics(_self, _self),
_rammarket(_self,_self),
_payments(_self, _self)
{
//print( "construct system\n" );
@@ -259,7 +259,7 @@ void system_contract::onblock(block_timestamp timestamp, account_name producer)

//called once per day to set payments snapshot
if (_gstate.last_claimrewards + uint32_t(3600) <= timestamp.slot) { //172800 blocks in a day
auto start_time = current_time();
// auto start_time = current_time();
claimrewards_snapshot();
_gstate.last_claimrewards = timestamp.slot;
}

0 comments on commit 45375d4

Please sign in to comment.
You can’t perform that action at this time.