okay this should fix the event unwrap bug.

This commit is contained in:
Moon Man 2023-01-29 13:00:39 -05:00
parent 3a3601f283
commit eee7b9a88c
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ contract CurioERC1155Wrapper is ERC1155, ERC1155Metadata_URI {
curio.transfer(msg.sender, _quantity); curio.transfer(msg.sender, _quantity);
// burn // burn
emit TransferSingle(msg.sender, address(this), address(0), _id, _quantity); emit TransferSingle(msg.sender, msg.sender, address(0), _id, _quantity);
} }
/** /**
@ -186,7 +186,7 @@ contract CurioERC1155Wrapper is ERC1155, ERC1155Metadata_URI {
} }
// burn // burn
emit TransferBatch(msg.sender, address(this), address(0), _ids, _quantities); emit TransferBatch(msg.sender, msg.sender, address(0), _ids, _quantities);
} }
/** /**