Use RPC endpoint of the provided network entrypoint rather than searching for the leader

This commit is contained in:
Michael Vines
2019-01-11 15:37:52 -07:00
parent 45c247fa5b
commit 4d9489aeb1
4 changed files with 18 additions and 7 deletions

View File

@@ -58,6 +58,7 @@ fn test_wallet_request_airdrop() {
let mut bob_config = WalletConfig::default();
bob_config.network = leader_data.gossip;
bob_config.drone_port = Some(drone_addr.port());
bob_config.rpc_port = Some(leader_data.rpc.port());
bob_config.command = WalletCommand::Airdrop(50);
let sig_response = process_command(&bob_config);