Skip to content

Commit 0caef11

Browse files
committed
fix mint decode function
1 parent b155ea7 commit 0caef11

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

programs/token/rpc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ import (
2828
const MINT_SIZE = 82
2929

3030
func (mint *Mint) Decode(data []byte) error {
31-
mint = new(Mint)
3231
dec := bin.NewBinDecoder(data)
3332
if err := dec.Decode(&mint); err != nil {
3433
return fmt.Errorf("unable to decode mint: %w", err)

0 commit comments

Comments
 (0)