Solana-wallet: print JSON RPC endpoint (#5482)
* Print RPC endpoint in use * Fixup wallet-sanity
This commit is contained in:
parent
c02373493b
commit
9ee5f36068
|
@ -39,7 +39,7 @@ check_balance_output() {
|
||||||
|
|
||||||
pay_and_confirm() {
|
pay_and_confirm() {
|
||||||
exec 42>&1
|
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"
|
$solana_wallet "${entrypoint[@]}" confirm "$signature"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1120,6 +1120,7 @@ pub fn process_command(config: &WalletConfig) -> ProcessResult {
|
||||||
// Get address of this client
|
// Get address of this client
|
||||||
return Ok(format!("{}", config.keypair.pubkey()));
|
return Ok(format!("{}", config.keypair.pubkey()));
|
||||||
}
|
}
|
||||||
|
println_name_value("Using RPC Endpoint:", &config.json_rpc_url);
|
||||||
|
|
||||||
let drone_addr = config.drone_addr();
|
let drone_addr = config.drone_addr();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue