Skip to content

Commit

Permalink
fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
aljo242 committed Aug 19, 2022
1 parent f8fddca commit 7d95583
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/docs/guide/03-blog/02-connect-blockchain.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,14 @@ func main() {
log.Fatal(err)
}

addr, err := account.Address(addressPrefix)
if err != nil {
log.Fatal(err)
}

// Define a message to create a post
msg := &types.MsgCreatePost{
Creator: account.Address(addressPrefix),
Creator: addr,
Title: "Hello!",
Body: "This is the first post",
}
Expand Down

0 comments on commit 7d95583

Please sign in to comment.