From 57af480de133816510283e8a9f74a1871f4a5b61 Mon Sep 17 00:00:00 2001 From: kexkey Date: Mon, 6 Sep 2021 18:17:46 -0400 Subject: [PATCH] Wrong param name to getnewaddress --- proxy_docker/app/script/walletoperations.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proxy_docker/app/script/walletoperations.sh b/proxy_docker/app/script/walletoperations.sh index d5c65b0..4036476 100644 --- a/proxy_docker/app/script/walletoperations.sh +++ b/proxy_docker/app/script/walletoperations.sh @@ -284,8 +284,8 @@ getnewaddress() { addedfieldstoresponse=' | . += {"label":"'${label}'"}' fi if [ -n "${address_type}" ]; then - jqop=${jqop}' | .params += {"addressType":"'${address_type}'"}' - addedfieldstoresponse=' | . += {"addressType":"'${address_type}'"}' + jqop=${jqop}' | .params += {"address_type":"'${address_type}'"}' + addedfieldstoresponse=' | . += {"address_type":"'${address_type}'"}' fi trace "[getnewaddress] jqop=${jqop}" trace "[getnewaddress] addedfieldstoresponse=${addedfieldstoresponse}"