I'm working on a project that involves setting up a shared pot account. Anyone can fund this account, and the owner has the ability to withdraw money from it. However, I'm encountering an error: system.ExtrinsicFailed Token.NotExpendable.
This error occurs when I set the pot account to users like Charlie or Dave who have no initial funds. Strangely, if I set the pot account as Alice, Bob, or AliceStash, I can successfully withdraw the money. Could someone please help me understand why this is happening? Your assistance would be greatly appreciated.
FundsUnavailable
instead ofNotExpendable
. Which one did you want to ask?