mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-10 06:07:16 +01:00
build: update to Go 1.18
This commit is contained in:
@@ -2009,7 +2009,7 @@ func TestDeDuplicatedAnnouncements(t *testing.T) {
|
||||
// indexes as due to the randomized order of map iteration they may be
|
||||
// in either place.
|
||||
if !reflect.DeepEqual(batch[2].msg, na) && !reflect.DeepEqual(batch[3].msg, na) {
|
||||
t.Fatal("first node announcement not in last part of batch: "+
|
||||
t.Fatalf("first node announcement not in last part of batch: "+
|
||||
"got %v, expected %v", batch[2].msg,
|
||||
na)
|
||||
}
|
||||
|
||||
@@ -2125,7 +2125,7 @@ func TestGossipSyncerSyncTransitions(t *testing.T) {
|
||||
select {
|
||||
case msgs := <-msgChan:
|
||||
if len(msgs) != 1 {
|
||||
t.Fatal("expected to send a single message at "+
|
||||
t.Fatalf("expected to send a single message at "+
|
||||
"a time, got %d", len(msgs))
|
||||
}
|
||||
msgSent = msgs[0]
|
||||
|
||||
Reference in New Issue
Block a user