Agoric / dapp-agoric-basics

This is a simple app for the Agoric smart contract platform.
0 stars 3 forks source link

Swap invitation descriptions are not unique #43

Closed samsiegart closed 1 month ago

samsiegart commented 1 month ago

Discovered in https://github.com/Agoric/dapp-agoric-basics/pull/42

The descriptions in swap invitations are not unique, so if you have multiple in your invitations purse, you can't reliably execute the invitation you want. The smart wallet will just pick the first one that matches the instance and description, which will likely result in a failed offer.