lnwallet/channel test: rename ErrCommitSyncDataLoss->ErrCommitSyncLocalDataLoss

This commit is contained in:
Johan T. Halseth 2018-07-12 11:02:53 +02:00
parent 48f1458ae5
commit 7fb3be84df
No known key found for this signature in database
GPG Key ID: 15BAADA29DA20D26

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