The corda sample application tokens in weaver can only be transferred via asset-transfer if the source account has a token asset state with the number of tokens pledged.
For example, if the source account is issued 11 tokens, a pledge of 10 tokens fails.
Expected behavior
If a source account has 11 tokens, a pledge for between 1 and 10 tokens should not fail.
Describe the bug
The corda sample application tokens in weaver can only be transferred via asset-transfer if the source account has a token asset state with the number of tokens pledged.
For example, if the source account is issued 11 tokens, a pledge of 10 tokens fails.
Expected behavior