lntest/itest: add t.Helper() to assertChannelConstraints
This commit is contained in:
1 file changed
+2
@@ -4798,6 +4798,8 @@ func testSphinxReplayPersistence(net *lntest.NetworkHarness, t *harnessTest) {
|
|||||||
func assertChannelConstraintsEqual(
|
func assertChannelConstraintsEqual(
|
||||||
t *harnessTest, want, got *lnrpc.ChannelConstraints) {
|
t *harnessTest, want, got *lnrpc.ChannelConstraints) {
|
||||||
|
|
||||||
|
t.t.Helper()
|
||||||
|
|
||||||
if want.CsvDelay != got.CsvDelay {
|
if want.CsvDelay != got.CsvDelay {
|
||||||
t.Fatalf("CsvDelay mismatched, want: %v, got: %v",
|
t.Fatalf("CsvDelay mismatched, want: %v, got: %v",
|
||||||
want.CsvDelay, got.CsvDelay,
|
want.CsvDelay, got.CsvDelay,
|
||||||
|
|||||||
Reference in new issue
Block a user