We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b155ea7 commit 0caef11Copy full SHA for 0caef11
1 file changed
programs/token/rpc.go
@@ -28,7 +28,6 @@ import (
28
const MINT_SIZE = 82
29
30
func (mint *Mint) Decode(data []byte) error {
31
- mint = new(Mint)
32
dec := bin.NewBinDecoder(data)
33
if err := dec.Decode(&mint); err != nil {
34
return fmt.Errorf("unable to decode mint: %w", err)
0 commit comments