mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-27 20:27:48 +02:00
tlv: remove unused error return value
This commit also modifies a previous migration. Because the change is so limited, we don't consider this a significant risk.
This commit is contained in:
@@ -114,10 +114,7 @@ func TestRecordMapTransformation(t *testing.T) {
|
||||
spew.Sdump(mappedRecords))
|
||||
}
|
||||
|
||||
unmappedRecords, err := MapToRecords(mappedRecords)
|
||||
if err != nil {
|
||||
t.Fatalf("#%v: unable to unmap records: %v", i, err)
|
||||
}
|
||||
unmappedRecords := MapToRecords(mappedRecords)
|
||||
|
||||
for i := 0; i < len(testCase.records); i++ {
|
||||
if unmappedRecords[i].Type() != testCase.records[i].Type() {
|
||||
|
Reference in New Issue
Block a user