Files
xahaud/src/test/app
Scott Schurr 39c32561bd Prevent brokered sale of NFToken to owner: (#4403)
Fixes #4374

It was possible for a broker to combine a sell and a buy offer from an account that already owns an NFT. Such brokering extracts money from the NFT owner and provides no benefit in return.

With this amendment, the code detects when a broker is returning an NFToken to its initial owner and prohibits the transaction. This forbids a broker from selling an NFToken to the account that already owns the token. This fixes a bug in the original implementation of XLS-20.

Thanks to @nixer89 for suggesting this fix.
2023-02-13 15:52:39 -08:00
..
2022-05-10 13:34:12 -07:00
2023-02-07 15:43:28 -08:00
2022-08-25 08:38:28 -07:00
2020-06-30 08:52:18 -07:00
2020-06-30 08:52:18 -07:00
2022-05-10 13:34:12 -07:00