pass Pubkeys as refs, copy only where values needed (#3213)
* pass Pubkeys as refs, copy only where values needed * Pubkey is pervasive * fixup
This commit is contained in:
@ -67,7 +67,7 @@ fn main() {
|
||||
}
|
||||
addr
|
||||
};
|
||||
let node = Node::new_with_external_ip(keypair.pubkey(), &gossip_addr);
|
||||
let node = Node::new_with_external_ip(&keypair.pubkey(), &gossip_addr);
|
||||
|
||||
println!(
|
||||
"replicating the data with keypair={:?} gossip_addr={:?}",
|
||||
|
Reference in New Issue
Block a user