Closed ddm50 closed 1 year ago
It has been mind boggling. Apparently the address provided for mint is detected as already in use or created. I have no clue. I will continue troubleshooting.
Issue solved.
If it helps anyone another instruction that had CreateAccount in it was being called too, doing so invalidated CreateAccount that came after it and so error popped up. Removing it fixed the issue.
"Allocate: account Address { address: 5VqTqhqpSRWk3zLpWnqq2N93F5gpEsfF8XEEmEtNeT9i, base: None } already in use",
It appears to me that this happens to due to Associated Account. Now it says it's already in use, but the wallet is generated new, so how could it be?
My JS code I would say is 1:1 with the Go code I have here. I am not sure what I am missing out on. I am not sure if you faced this issue?