You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Swap view is initiated (from Alice's node), 1 TOK for 1 KOT.
After Bob add his own transfers execution continue at Alice's node where tx outputs will be checked.
outputs, err := tx.Outputs()
os := outputs.ByRecipient(other)
assert.Equal(0, os.Sum().Cmp(big.NewInt(int64(t.FromQuantity))))
'os' object contain Bob's outputs (1 TOK, 4 KOT) and assert will fail.
Here, we need to analyze action by action.
The text was updated successfully, but these errors were encountered:
IgorSimj
added a commit
to IgorSimj/fabric-token-sdk
that referenced
this issue
Feb 28, 2023
For example, Alice have 10 TOK and Bob have 5 KOT
Swap view is initiated (from Alice's node), 1 TOK for 1 KOT.
After Bob add his own transfers execution continue at Alice's node where tx outputs will be checked.
'os' object contain Bob's outputs (1 TOK, 4 KOT) and assert will fail.
Here, we need to analyze action by action.
The text was updated successfully, but these errors were encountered: