multi: fix dropped errors

This commit is contained in:
Joost Jager committed 2019-09-13 09:50:38 +02:00
1 parent ffb8c0cfc3
commit 1e0ed1e52f
6 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -1052,7 +1052,7 @@ func writeTaggedFields(bufferBase32 *bytes.Buffer, invoice *Invoice) error {
pubKeyBase32, err := bech32.ConvertBits(
invoice.Destination.SerializeCompressed(), 8, 5, true)
if err != nil {
return nil
return err
}
if len(pubKeyBase32) != pubKeyBase32Len {