Skip to content

Commit

Permalink
feat: fix build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
karlem committed Nov 26, 2024
1 parent 28d67bc commit cca6e49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fendermint/app/src/validators.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ impl ValidatorTracker {
.map_err(|_| anyhow!("Failed to convert ValidatorKey to Tendermint public key"))?;

let tendermint_id = tendermint::account::Id::from(tendermint_pub_key);
cache.insert(tendermint_id, validator_key.public_key().clone());
cache.insert(tendermint_id, *validator_key.public_key());
Ok(())
})
}
Expand Down

0 comments on commit cca6e49

Please sign in to comment.