Skip to content

Commit

Permalink
Fix default Dockerfile for new CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
cffls committed May 27, 2022
1 parent 96228cc commit 5092006
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ RUN apt-get update -y && apt-get upgrade -y \

WORKDIR ${BOR_DIR}
COPY . .
RUN make bor-all
RUN make bor

RUN cp build/bin/bor /usr/local/bin/

ENV SHELL /bin/bash
EXPOSE 8545 8546 8547 30303 30303/udp
Expand Down
2 changes: 1 addition & 1 deletion consensus/bor/bor.go
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ func (c *Bor) snapshot(chain consensus.ChainHeaderReader, number uint64, hash co
number, hash = number-1, header.ParentHash
}

log.Info("Snapshot has been found in %d headers depth.", len(headers))
log.Info("Snapshot has been found in", "headers depth", len(headers))

// check if snapshot is nil
if snap == nil {
Expand Down

0 comments on commit 5092006

Please sign in to comment.