diff --git a/htlcswitch/hodl/config_production.go b/htlcswitch/hodl/config_production.go new file mode 100644 index 000000000..8daeefd8e --- /dev/null +++ b/htlcswitch/hodl/config_production.go @@ -0,0 +1,11 @@ +// +build !debug + +package hodl + +// Config is an empty struct disabling command line hodl flags in production. +type Config struct{} + +// Mask in production always returns MaskNone. +func (c *Config) Mask() Mask { + return MaskNone +}