examples: properly store owner of nft-d token

This commit is contained in:
Anna Shaleva 2022-02-07 11:38:04 +03:00
parent b5afe24090
commit 22c39d3916

View file

@ -383,7 +383,7 @@ func OnNEP17Payment(from interop.Hash160, amount int, data interface{}) {
total := totalSupply(ctx)
addOwner(ctx, from, id)
addOwner(ctx, id, from)
addToBalance(ctx, from, id, multiplier)
total++