mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 22:56:43 +00:00
Merge pull request #417 from cffls/v0.3.0-dev-lint
Fix default Dockerfile for new CLI
This commit is contained in:
commit
4ffdbfe60d
2 changed files with 4 additions and 2 deletions
|
|
@ -9,7 +9,9 @@ RUN apt-get update -y && apt-get upgrade -y \
|
||||||
|
|
||||||
WORKDIR ${BOR_DIR}
|
WORKDIR ${BOR_DIR}
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN make bor-all
|
RUN make bor
|
||||||
|
|
||||||
|
RUN cp build/bin/bor /usr/local/bin/
|
||||||
|
|
||||||
ENV SHELL /bin/bash
|
ENV SHELL /bin/bash
|
||||||
EXPOSE 8545 8546 8547 30303 30303/udp
|
EXPOSE 8545 8546 8547 30303 30303/udp
|
||||||
|
|
|
||||||
|
|
@ -548,7 +548,7 @@ func (c *Bor) snapshot(chain consensus.ChainHeaderReader, number uint64, hash co
|
||||||
number, hash = number-1, header.ParentHash
|
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
|
// check if snapshot is nil
|
||||||
if snap == nil {
|
if snap == nil {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue