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

Commit

Permalink
Merge pull request #6865 from taokayan/6429-fix-kayan
Browse files Browse the repository at this point in the history
fix pending_schedule_hash
  • Loading branch information
arhag authored Mar 5, 2019
2 parents a72eda9 + 2aeb626 commit 9d14248
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 9d14248

Please sign in to comment.