-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drop From<Vec<u8>>
for UnsignedBolt12Invoice
#3373
Comments
While we're at it we might want to consider dropping the |
It looks right to me. The constructor takes |
Ah, apologies, I was confused. In any case, I do think we should drop the |
Readable
/Writeable
for UnsignedBolt12Invoice
are wrongFrom<Vec<u8>>
for UnsignedBolt12Invoice
|
Hmmm... I don't think this is the case because
Since it goes through |
...and maybe others. They only write the invoice request's bytes out, not the fields for the Invoice itself. We shoould probably rename
UnsignedBolt12Invoice::bytes
toinvreq_bytes
(and possibly similarly in invreq?) to avoid this confusion in the future.The text was updated successfully, but these errors were encountered: