mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2025-12-18 22:54:26 +01:00
lnwallet test: update test to new error message
This commit is contained in:
@@ -581,7 +581,7 @@ func testReservationInitiatorBalanceBelowDustCancel(miner *rpctest.Harness,
|
|||||||
t.Fatalf("initialization should have failed due to " +
|
t.Fatalf("initialization should have failed due to " +
|
||||||
"insufficient local amount")
|
"insufficient local amount")
|
||||||
|
|
||||||
case !strings.Contains(err.Error(), "local output is too small"):
|
case !strings.Contains(err.Error(), "Funder balance too small"):
|
||||||
t.Fatalf("incorrect error: %v", err)
|
t.Fatalf("incorrect error: %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user