Skip to content

Commit

Permalink
Merge branch 'feat(devtool)/add-ghash-persistence-endpoint' of github…
Browse files Browse the repository at this point in the history
….com:renproject/lightnode into feat(devtool)/add-ghash-persistence-endpoint
  • Loading branch information
ryanswrt committed Jun 9, 2021
2 parents a03b826 + dddf90a commit 9b5c1a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ RUN apt-get update && \
ca-certificates \
libgmp3-dev \
libudev-dev \
libssl-dev && \
libssl-dev \
libhwloc-dev && \
rm -rf /var/lib/apt/lists/*

FROM renbot/multichain:latest as builder
Expand All @@ -26,7 +27,7 @@ WORKDIR /lightnode

ARG GITHUB_TOKEN

RUN apt-get update && apt-get install -y ocl-icd-opencl-dev libgmp3-dev libhwloc-dev
RUN apt-get update && apt-get install -y ocl-icd-opencl-dev libgmp3-dev

# Use GitHub personal access token to fetch dependencies.
RUN git config --global url."https://${GITHUB_TOKEN}:x-oauth-basic@github.com/".insteadOf "https://github.com/"
Expand Down
1 change: 1 addition & 0 deletions lightnode.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func New(options Options, ctx context.Context, logger logrus.FieldLogger, sqlDB
bindingsOpts := binding.DefaultOptions().
WithNetwork(options.Network)
for chain, chainOpts := range options.Chains {
chainOpts.MaxConfirmations = pack.MaxU64 // TODO: Eventually we will want to fetch this from the Darknode.
bindingsOpts = bindingsOpts.WithChainOptions(chain, chainOpts)
}
bindings := binding.New(bindingsOpts)
Expand Down

0 comments on commit 9b5c1a6

Please sign in to comment.