lntest/itest: add t.Helper() to assertChannelConstraints

This commit is contained in:
Conner Fromknecht committed 2020-08-24 20:08:15 -07:00
1 parent 7d4547a8e9
commit 8390e303c1
1 file changed
+2
+2
View File
@@ -4798,6 +4798,8 @@ func testSphinxReplayPersistence(net *lntest.NetworkHarness, t *harnessTest) {
func assertChannelConstraintsEqual(
t *harnessTest, want, got *lnrpc.ChannelConstraints) {
t.t.Helper()
if want.CsvDelay != got.CsvDelay {
t.Fatalf("CsvDelay mismatched, want: %v, got: %v",
want.CsvDelay, got.CsvDelay,