Fixed labels in watches and added tests

This commit is contained in:
kexkey
2021-09-06 15:08:10 -04:00
parent d7cc865cad
commit 8268247c83
5 changed files with 13 additions and 10 deletions

View File

@@ -332,9 +332,9 @@ main() {
#
# or...
# POST http://192.168.111.152:8080/getnewaddress
# BODY {"address_type":"bech32","label":"myLabel"}
# BODY {"addressType":"bech32","label":"myLabel"}
# BODY {"label":"myLabel"}
# BODY {"address_type":"p2sh-segwit"}
# BODY {"addressType":"p2sh-segwit"}
# BODY {}
# Let's make it work even for a GET request (equivalent to a POST with empty json object body)