mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-13 18:10:25 +02:00
htlcswitch: properly rename struct in tests
This commit is contained in:
@@ -1899,9 +1899,9 @@ func TestChannelLinkBandwidthConsistency(t *testing.T) {
|
|||||||
t.Fatalf("did not receive message")
|
t.Fatalf("did not receive message")
|
||||||
}
|
}
|
||||||
|
|
||||||
settleHtlc, ok := msg.(*lnwire.UpdateFufillHTLC)
|
settleHtlc, ok := msg.(*lnwire.UpdateFulfillHTLC)
|
||||||
if !ok {
|
if !ok {
|
||||||
t.Fatalf("expected UpdateFufillHTLC, got %T", msg)
|
t.Fatalf("expected UpdateFulfillHTLC, got %T", msg)
|
||||||
}
|
}
|
||||||
pre := settleHtlc.PaymentPreimage
|
pre := settleHtlc.PaymentPreimage
|
||||||
idx := settleHtlc.ID
|
idx := settleHtlc.ID
|
||||||
|
Reference in New Issue
Block a user