Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
fix pending_schedule_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
taokayan committed Mar 5, 2019
1 parent a72eda9 commit 2aeb626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/block_header_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ namespace eosio { namespace chain {

if( h.new_producers ) {
result.pending_schedule.schedule = *h.new_producers;
result.pending_schedule.schedule_hash = digest_type::hash( result.pending_schedule );
result.pending_schedule.schedule_hash = digest_type::hash( *h.new_producers );
result.pending_schedule.schedule_lib_num = block_number;
} else {
if( was_pending_promoted ) {
Expand Down

0 comments on commit 2aeb626

Please sign in to comment.