lnwallet/channel test: rename ErrCommitSyncDataLoss->ErrCommitSyncLocalDataLoss

This commit is contained in:
Johan T. Halseth committed 2018-07-31 15:16:23 +02:00
1 parent 48f1458ae5
commit 7fb3be84df
1 file changed
+2 -2
+2 -2
View File
@@ -3809,8 +3809,8 @@ func TestChanSyncInvalidLastSecret(t *testing.T) {
// Alice's former self should conclude that she possibly lost data as // Alice's former self should conclude that she possibly lost data as
// Bob is sending a valid commit secret for the latest state. // Bob is sending a valid commit secret for the latest state.
_, _, _, err = aliceOld.ProcessChanSyncMsg(bobChanSync) _, _, _, err = aliceOld.ProcessChanSyncMsg(bobChanSync)
if err != ErrCommitSyncDataLoss { if err != ErrCommitSyncLocalDataLoss {
t.Fatalf("wrong error, expected ErrCommitSyncDataLoss "+ t.Fatalf("wrong error, expected ErrCommitSyncLocalDataLoss "+
"instead got: %v", err) "instead got: %v", err)
} }