Skip to content

Commit

Permalink
fix missing error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Nov 25, 2020
1 parent 0fd1895 commit fcc62ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/slnc/cmd/spl_get_meta.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ var getTokenMetaCmd = &cobra.Command{
errorCheck("public key", err)

accountInfo, err := client.GetAccountInfo(ctx, pubKey)
errorCheck("get account info", err)

var tm *tokenregistry.TokenMeta
err = bin.NewDecoder(accountInfo.Value.Data).Decode(&tm)
Expand Down

0 comments on commit fcc62ec

Please sign in to comment.