Skip to content

Commit d16ab8d

Browse files
committed
itest: all non-backward-compat nodes use noop flag
1 parent 92a1041 commit d16ab8d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

itest/litd_node.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,10 @@ func renameFile(fromFileName, toFileName string) {
652652
func (hn *HarnessNode) overrideFlagsAndBinary(backwardCompat map[string]string,
653653
binary string, args []LitArgOption) (string, []LitArgOption) {
654654

655-
if backwardCompat == nil {
655+
noopArg := WithLitArg("taproot-assets.channel.noop-htlcs", "")
656+
657+
if _, ok := backwardCompat[hn.Name()]; !ok {
658+
args = append(args, noopArg)
656659
return binary, args
657660
}
658661

0 commit comments

Comments
 (0)