Add configurable fixed amount for fee

This commit is contained in:
Stefan Kostic
2022-02-25 00:23:09 +01:00
parent 072694cb2e
commit b99182db64
2 changed files with 2 additions and 0 deletions

View File

@@ -6,3 +6,4 @@ JWT_EXPIRY=604800
LND_ADDRESS=
LND_MACAROON_HEX=
LND_CERT_HEX=
FIXED_FEE=10

View File

@@ -11,4 +11,5 @@ type Config struct {
LNDCertHex string `envconfig:"LND_CERT_HEX"`
CustomName string `envconfig:"CUSTOM_NAME"`
Port int `envconfig:"PORT" default:"3000"`
FixedFee int `envconfig:"FIXED_FEE" default:"10"`
}