From 7fb3be84dffca2e224213f504fc706f1fe7c481a Mon Sep 17 00:00:00 2001 From: "Johan T. Halseth" Date: Thu, 12 Jul 2018 11:02:53 +0200 Subject: [PATCH] lnwallet/channel test: rename ErrCommitSyncDataLoss->ErrCommitSyncLocalDataLoss --- lnwallet/channel_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnwallet/channel_test.go b/lnwallet/channel_test.go index 0370049e..b53fe6e7 100644 --- a/lnwallet/channel_test.go +++ b/lnwallet/channel_test.go @@ -3809,8 +3809,8 @@ func TestChanSyncInvalidLastSecret(t *testing.T) { // Alice's former self should conclude that she possibly lost data as // Bob is sending a valid commit secret for the latest state. _, _, _, err = aliceOld.ProcessChanSyncMsg(bobChanSync) - if err != ErrCommitSyncDataLoss { - t.Fatalf("wrong error, expected ErrCommitSyncDataLoss "+ + if err != ErrCommitSyncLocalDataLoss { + t.Fatalf("wrong error, expected ErrCommitSyncLocalDataLoss "+ "instead got: %v", err) }