Skip to content
Permalink
Browse files

bft leader should preferentially use an Ed25519 secret key although s…

…hould accept both
  • Loading branch information...
vincenthz committed Jun 11, 2019
1 parent 50b6b48 commit 9e0320e24566af5840082f736f708bf8edb68949
Showing with 2 additions and 2 deletions.
  1. +2 −2 chain-impl-mockchain/src/leadership/mod.rs
@@ -4,7 +4,7 @@ use crate::{
ledger::{Ledger, LedgerParameters},
stake::StakePoolId,
};
use chain_crypto::{Curve25519_2HashDH, Ed25519Extended, SecretKey, SumEd25519_12};
use chain_crypto::{Curve25519_2HashDH, Ed25519, SecretKey, SumEd25519_12};
use chain_time::era::TimeEra;

pub mod bft;
@@ -44,7 +44,7 @@ macro_rules! try_check {
}

pub struct BftLeader {
pub sig_key: SecretKey<Ed25519Extended>,
pub sig_key: SecretKey<Ed25519>,
}

pub struct GenesisLeader {

0 comments on commit 9e0320e

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