Issue and Steps to Reproduce
Create a invoice with a integer label
lightning-cli invoice 3333 25 25 600 <- this now fails also, however if you add a single character like "i25" it allows it.
amount 3333
label 25
description 25
timeout 600s
query this invoice by:
lightning-cli listinvoices 25
affects invoice, delinvoice as well. i
Now returns an error instead of the status of the queried invoice.
{ "code" : -1, "message" : "label '25' is not a string" }
getinfo output
{ "id" : "0392419c02fbca83ae8d541cd2f48b662b2238ed8e1e92a93547c23ba32f0d64c6", "port" : 9735, "address" :
[
{ "type" : "ipv4", "address" : "203.86.204.88", "port" : 9735 } ], "version" : "v0.5.2-2016-11-21-2422-g286cfef", "blockheight" : 1289335, "network" : "testnet" }
Issue and Steps to Reproduce
Create a invoice with a integer label
lightning-cli invoice 3333 25 25 600 <- this now fails also, however if you add a single character like "i25" it allows it.
amount 3333
label 25
description 25
timeout 600s
query this invoice by:
lightning-cli listinvoices 25
affects invoice, delinvoice as well. i
Now returns an error instead of the status of the queried invoice.
{ "code" : -1, "message" : "label '25' is not a string" }
getinfooutput{ "id" : "0392419c02fbca83ae8d541cd2f48b662b2238ed8e1e92a93547c23ba32f0d64c6", "port" : 9735, "address" :
[
{ "type" : "ipv4", "address" : "203.86.204.88", "port" : 9735 } ], "version" : "v0.5.2-2016-11-21-2422-g286cfef", "blockheight" : 1289335, "network" : "testnet" }