Skip to content

Commit

Permalink
Merge branch 'release/0.4.2' into feat/disable-watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
jazg committed Jun 7, 2021
2 parents 1921cd8 + 1ee8f7c commit a64ba84
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import (
"github.com/renproject/lightnode/updater"
"github.com/renproject/lightnode/watcher"
"github.com/renproject/multichain"
"github.com/renproject/pack"
"github.com/renproject/phi"
"github.com/sirupsen/logrus"
)
Expand Down Expand Up @@ -96,6 +97,7 @@ func New(options Options, ctx context.Context, logger logrus.FieldLogger, sqlDB
WithNetwork(options.Network)
for chain, chainOpts := range options.Chains {
chainOpts.Confirmations = 0
chainOpts.MaxConfirmations = pack.MaxU64 // TODO: Eventually we will want to fetch this from the Darknode.
verifierBindingsOpts = verifierBindingsOpts.WithChainOptions(chain, chainOpts)
}
verifierBindings := binding.New(verifierBindingsOpts)
Expand Down

0 comments on commit a64ba84

Please sign in to comment.