add value_sat and value_msat to the outgoing payment response

This commit is contained in:
Roei Erez committed 2018-09-27 08:58:18 +03:00
1 parent f4305097e1
commit c5bebb3b32
3 files changed
+439 -404

No files matched your search

+11 -1
View File
@@ -2294,7 +2294,7 @@
"value": {
"type": "string",
"format": "int64",
"title": "/ The value of the payment in satoshis"
"description": "/ Deprecated, use value_sat or value_msat."
},
"creation_date": {
"type": "string",
@@ -2316,6 +2316,16 @@
"payment_preimage": {
"type": "string",
"title": "/ The payment preimage"
},
"value_sat": {
"type": "string",
"format": "int64",
"title": "/ The value of the payment in satoshis"
},
"value_msat": {
"type": "string",
"format": "int64",
"title": "/ The value of the payment in milli-satoshis"
}
}
},