From f18a21fc545ce01bcccd8a446567cc4e8fa6188d Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Sun, 29 Jan 2017 17:07:54 -0800 Subject: [PATCH] test: correct error message for htlc error propagation test --- lnd_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnd_test.go b/lnd_test.go index 3d11e71b4..2597718e7 100644 --- a/lnd_test.go +++ b/lnd_test.go @@ -1554,8 +1554,8 @@ func testHtlcErrorPropagation(net *networkHarness, t *harnessTest) { t.Fatalf("payment should have been rejected due to wrong " + "HTLC amount") } else if !strings.Contains(err.Error(), "htlc value") { - t.Fatalf("payment should have failed due to unknown preimage, "+ - "instead failed due to : %v", err) + t.Fatalf("payment should have failed due to wrong amount, "+ + "instead failed due to: %v", err) } // The balances of all parties should be the same as initially since