From 1afadf4822d7bff6b6c9fd81351f986eecac12e8 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 6 Feb 2018 19:28:24 -0800 Subject: [PATCH] htlcswitch: properly rename struct in tests --- htlcswitch/link_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htlcswitch/link_test.go b/htlcswitch/link_test.go index 04f8bf41..72623afc 100644 --- a/htlcswitch/link_test.go +++ b/htlcswitch/link_test.go @@ -1899,9 +1899,9 @@ func TestChannelLinkBandwidthConsistency(t *testing.T) { t.Fatalf("did not receive message") } - settleHtlc, ok := msg.(*lnwire.UpdateFufillHTLC) + settleHtlc, ok := msg.(*lnwire.UpdateFulfillHTLC) if !ok { - t.Fatalf("expected UpdateFufillHTLC, got %T", msg) + t.Fatalf("expected UpdateFulfillHTLC, got %T", msg) } pre := settleHtlc.PaymentPreimage idx := settleHtlc.ID