espresso-cash-public icon indicating copy to clipboard operation
espresso-cash-public copied to clipboard

Error on TokenInstruction.setAuthority to null on Token

Open 4xMafole opened this issue 2 years ago • 0 comments

Describe the bug Setting the new authority to null generates an error on Solscan.

To Reproduce Steps to reproduce the behavior:

  1. Use TokenInstruction.setAuthority and pass a null newAuthority.
  2. Go to the blockchain explorer and look up the transaction generated.
  3. On instruction details, found this error "ERROR":{1 item "message":"src property must be a valid json object" }

Expected behavior I expected no error and since I am disabling the minting authority of the token, the status of the token should change from current supply to fixed supply.

4xMafole avatar Nov 24 '22 10:11 4xMafole