Closed
Description
Hello, I'm trying to use gophernotes to test types of the following repo: https://github.com/cosmos/cosmos-sdk
I import the packages
import (
"fmt"
sdk "github.com/cosmos/cosmos-sdk/types"
)
and try to use:
addr := "juno1juczud9nep06t0khghvm643hf9usw45r4v7lq6"
valAddr := sdk.MustAccAddressFromBech32(addr)
On the terminal I receive the following message:
repl.go:2:12: not a type: sdk.MustAccAddressFromBech32 <*ast.SelectorExpr>
How can I solve it? thanks
Metadata
Metadata
Assignees
Labels
No labels