Skip to content

Commit

Permalink
specify address type and modification .md document
Browse files Browse the repository at this point in the history
  • Loading branch information
z2453564902 committed Jun 8, 2021
1 parent 6f023a8 commit 3cf329a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/plugchaind/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ func NewRootCmd() (*cobra.Command, params.EncodingConfig) {
}

initRootCmd(rootCmd, encodingConfig)

overwriteFlagDefaults(rootCmd, map[string]string{
flags.FlagChainID: ChainID,
flags.FlagKeyringBackend: "file",
})
return rootCmd, encodingConfig
}

Expand Down
2 changes: 2 additions & 0 deletions docs/tutorial/cn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ go version
```
git clone https://github.com/oracleNetworkProtocol/plugchain.git
```
> 如果克隆仓库比较慢或者没反应的情况,可以把克隆地址 `github.com` 换成国内镜像,已知的国内镜像有`github.com.cnpmjs.org``git.sdut.me/`
2. 开启gomodule和设置终端GOPROXY
```
go env -w GO111MODULE=on
Expand Down

0 comments on commit 3cf329a

Please sign in to comment.