okay this should fix the event unwrap bug.
This commit is contained in:
parent
3a3601f283
commit
eee7b9a88c
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue