Fixes json parsing of None when no json was postesd to the API

h/t @yahgwai for finding this.
This commit is contained in:
Sergi Delgado Segura
2020-02-13 18:37:02 +01:00
parent f24bb75e07
commit 3ba5db533d
2 changed files with 28 additions and 22 deletions

View File

@@ -36,7 +36,7 @@ This command is used to register appointments to the PISA server. Appointments *
"tx_id": tx_id,
"start_time": s,
"end_time": e,
"dispute_delta": d }
"to_self_delay": d }
`tx` **must** be the raw penalty transaction that will be encrypted before sent to the PISA server. `type(tx) = hex encoded str`