forked from TrueCloudLab/neoneo-go
examples: properly store owner of nft-d token
This commit is contained in:
parent
b5afe24090
commit
22c39d3916
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ func OnNEP17Payment(from interop.Hash160, amount int, data interface{}) {
|
||||||
|
|
||||||
total := totalSupply(ctx)
|
total := totalSupply(ctx)
|
||||||
|
|
||||||
addOwner(ctx, from, id)
|
addOwner(ctx, id, from)
|
||||||
addToBalance(ctx, from, id, multiplier)
|
addToBalance(ctx, from, id, multiplier)
|
||||||
|
|
||||||
total++
|
total++
|
||||||
|
|
Loading…
Reference in a new issue