From 22c39d391625b60c074a72ea50ddc04cf57d0226 Mon Sep 17 00:00:00 2001 From: Anna Shaleva Date: Mon, 7 Feb 2022 11:38:04 +0300 Subject: [PATCH] examples: properly store owner of nft-d token --- examples/nft-d/nft.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/nft-d/nft.go b/examples/nft-d/nft.go index d7f18ec7a..18d36adc3 100644 --- a/examples/nft-d/nft.go +++ b/examples/nft-d/nft.go @@ -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++