mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-20 13:27:27 +02:00
lnwallet/channel test: rename ErrCommitSyncDataLoss->ErrCommitSyncLocalDataLoss
This commit is contained in:
parent
48f1458ae5
commit
7fb3be84df
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue