htlcswitch: properly rename struct in tests

This commit is contained in:
Olaoluwa Osuntokun 2018-02-06 19:28:24 -08:00
parent 8543497dcc
commit 1afadf4822
No known key found for this signature in database
GPG Key ID: 964EA263DD637C21
1 changed files with 2 additions and 2 deletions

View File

@ -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