Solana-wallet: print JSON RPC endpoint (#5482)

* Print RPC endpoint in use

* Fixup wallet-sanity
This commit is contained in:
Tyera Eulberg 2019-08-09 20:23:53 -06:00 committed by GitHub
parent c02373493b
commit 9ee5f36068
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -39,7 +39,7 @@ check_balance_output() {
pay_and_confirm() {
exec 42>&1
signature=$($solana_wallet "${entrypoint[@]}" pay "$@" | tee >(cat - >&42))
signature=$($solana_wallet "${entrypoint[@]}" pay "$@" | tail -c 88 | tee >(cat - >&42))
$solana_wallet "${entrypoint[@]}" confirm "$signature"
}

View File

@ -1120,6 +1120,7 @@ pub fn process_command(config: &WalletConfig) -> ProcessResult {
// Get address of this client
return Ok(format!("{}", config.keypair.pubkey()));
}
println_name_value("Using RPC Endpoint:", &config.json_rpc_url);
let drone_addr = config.drone_addr();