Fix testDecodingPayInvoiceRequest test failure

Signed-off-by: Daniel D’Aquino <daniel@daquino.me>
This commit is contained in:
Daniel D’Aquino
2025-10-06 11:48:58 -07:00
parent 01ec05ab32
commit 7691b48fb6

View File

@@ -290,9 +290,11 @@ class NdbNote: Codable, Equatable, Hashable {
free(buf)
return nil
}
case .manual(_, let signature, _):
case .manual(_, let signature, let noteId):
var raw_sig = signature.data.byteArray
var raw_id = noteId.id.byteArray
ndb_builder_set_sig(&builder, &raw_sig)
ndb_builder_set_id(&builder, &raw_id)
do {
// Finalize note, save length, and ensure it is higher than zero (which signals finalization has succeeded)