Fix build
Last two PRs crossed in flight. A keypair is now required for all types of FullNode, not just validators.
This commit is contained in:
parent
2ea6f86199
commit
a58df52205
|
@ -146,14 +146,14 @@ impl FullNode {
|
|||
node: TestNode,
|
||||
leader: bool,
|
||||
ledger: LedgerFile,
|
||||
keypair_for_validator: Option<KeyPair>,
|
||||
keypair: KeyPair,
|
||||
network_entry_for_validator: Option<SocketAddr>,
|
||||
) -> FullNode {
|
||||
FullNode::new_internal(
|
||||
node,
|
||||
leader,
|
||||
ledger,
|
||||
keypair_for_validator,
|
||||
keypair,
|
||||
network_entry_for_validator,
|
||||
false,
|
||||
)
|
||||
|
@ -163,14 +163,14 @@ impl FullNode {
|
|||
node: TestNode,
|
||||
leader: bool,
|
||||
ledger: LedgerFile,
|
||||
keypair_for_validator: Option<KeyPair>,
|
||||
keypair: KeyPair,
|
||||
network_entry_for_validator: Option<SocketAddr>,
|
||||
) -> FullNode {
|
||||
FullNode::new_internal(
|
||||
node,
|
||||
leader,
|
||||
ledger,
|
||||
keypair_for_validator,
|
||||
keypair,
|
||||
network_entry_for_validator,
|
||||
true,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue