Browse Source

docs: go tutorial fixed for 0.35.0 version (#7329) (#7330) (#7331)

(cherry picked from commit a36dd49eae)

Co-authored-by: Piotr Pędziwiatr <84311757+ppedziwiatr@users.noreply.github.com>
pull/7338/head
mergify[bot] 3 years ago
committed by GitHub
parent
commit
3e41def0eb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      docs/tutorials/go.md

+ 2
- 2
docs/tutorials/go.md View File

@ -367,7 +367,7 @@ func main() {
flag.Parse() flag.Parse()
logger := log.NewTMLogger(log.NewSyncWriter(os.Stdout))
logger := log.MustNewDefaultLogger(log.LogFormatPlain, log.LogLevelInfo, false)
server := abciserver.NewSocketServer(socketAddr, app) server := abciserver.NewSocketServer(socketAddr, app)
server.SetLogger(logger) server.SetLogger(logger)
@ -438,7 +438,7 @@ This should create a `go.mod` file. The current tutorial only works with
the master branch of Tendermint, so let's make sure we're using the latest version: the master branch of Tendermint, so let's make sure we're using the latest version:
```sh ```sh
go get github.com/tendermint/tendermint@master
go get github.com/tendermint/tendermint@97a3e44e0724f2017079ce24d36433f03124c09e
``` ```
This will populate the `go.mod` with a release number followed by a hash for Tendermint. This will populate the `go.mod` with a release number followed by a hash for Tendermint.


Loading…
Cancel
Save