Kaynağa Gözat

Merge pull request #15137 from karalabe/puppeth-keywords

cmd/puppeth: reserve "yournode" as a non-allowed ethstats user
Péter Szilágyi 8 yıl önce
ebeveyn
işleme
514b1587db
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      cmd/puppeth/module_ethstats.go

+ 1 - 1
cmd/puppeth/module_ethstats.go

@@ -42,7 +42,7 @@ RUN \
 WORKDIR /eth-netstats
 EXPOSE 3000
 
-RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}]};' > lib/utils/config.js
+RUN echo 'module.exports = {trusted: [{{.Trusted}}], banned: [{{.Banned}}], reserved: ["yournode"]};' > lib/utils/config.js
 
 CMD ["npm", "start"]
 `