Previously routing_info in tagsObject only had 1 route hint, while this could be multiple regarding to the bolt11 spec.
I changed the routing_info to be an array inside the tagsObject.
I am aware of this being a breaking change, but I got quite confused that this was not an array before so I hope this change gives a more accurate representation of how route hints are being using in lightning invoices.
Previously
routing_info
intagsObject
only had 1 route hint, while this could be multiple regarding to the bolt11 spec. I changed therouting_info
to be an array inside thetagsObject
.I am aware of this being a breaking change, but I got quite confused that this was not an array before so I hope this change gives a more accurate representation of how route hints are being using in lightning invoices.