Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
fix: compilation failed
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroqn committed Jul 14, 2020
1 parent d6d8c3e commit 4d5593a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/consensus/src/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -578,7 +578,7 @@ where

// check validators
for validator in block.header.validators.iter() {
let validator_address = Address::from_pubkey_bytes(validator.pub_key);
let validator_address = Address::from_pubkey_bytes(validator.pub_key.clone());

if !authority_map.contains_key(&validator.pub_key) {
log::error!(
Expand Down

0 comments on commit 4d5593a

Please sign in to comment.