From bfff18ac707abbd3768acf32dfaf67c14bf64d7d Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Thu, 14 Mar 2019 17:14:23 -0600 Subject: [PATCH] Fix typo in wallet --- wallet/src/wallet.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/src/wallet.rs b/wallet/src/wallet.rs index 42b4c6f07b..530718a38c 100644 --- a/wallet/src/wallet.rs +++ b/wallet/src/wallet.rs @@ -602,7 +602,7 @@ pub fn process_command(config: &WalletConfig) -> Result { - let params = json!(format!("{}", config.id.pubkey())); + let params = json!([format!("{}", config.id.pubkey())]); let balance = RpcRequest::GetBalance .make_rpc_request(&rpc_client, 1, Some(params))? .as_u64();