Skip to content

Commit

Permalink
get spl token owner output
Browse files Browse the repository at this point in the history
  • Loading branch information
billettc committed Nov 23, 2020
1 parent edffba3 commit 4d145fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/slnc/cmd/get_spl_token.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var getSPLTokenCmd = &cobra.Command{
fmt.Println(keyedAcct.Pubkey.String())

text.EncoderColorCyan.Print("Owner: ")
fmt.Println(keyedAcct.Pubkey.String())
fmt.Println(keyedAcct.Account.Owner.String())

text.EncoderColorCyan.Print("Lamports: ")
fmt.Println(keyedAcct.Account.Lamports)
Expand Down

0 comments on commit 4d145fe

Please sign in to comment.