I am trying to transfer a pNFT via an anchor program, but it is failing at the TokenProgram
.
Logs below
I am trying to transfer a pNFT via an anchor program, but it is failing at the TokenProgram
.
Logs below
As Serban pointed out in the comments, it is because the destination token account
is the same as the origin token account
Changing it to a new address fixed this.
Though I am not satisfied with this answer because sending the same token to myself using Phantom wallet worked.