diff --git a/test-cli/scripts/test.sh b/test-cli/scripts/test.sh index 214fea83c..90e42c4b7 100755 --- a/test-cli/scripts/test.sh +++ b/test-cli/scripts/test.sh @@ -6,7 +6,7 @@ set -e getpubkey() { - $CLI validateaddress $1 | sed -n 's/.*"pubkey" : "\([0-9a-f]*\)".*/\1/p' + $CLI validateaddress $1 | sed -n 's/.*"pubkey" *: "\([0-9a-f]*\)".*/\1/p' } getprivkey()