Skip to content

Commit

Permalink
fix AccountTokenEvent for sale event
Browse files Browse the repository at this point in the history
  • Loading branch information
justraman committed Jul 1, 2023
1 parent 9da2deb commit a1aa0a1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mappings/marketplace/events/listing_filled.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,8 @@ export async function listingFilled(
new AccountTokenEvent({
id: item.event.id,
token: listing.makeAssetId,
from: new Account({ id: u8aToHex(data.buyer) }),
from: listing.seller,
to: new Account({ id: u8aToHex(data.buyer) }),
event,
}),
]
Expand Down

0 comments on commit a1aa0a1

Please sign in to comment.