Skip to content

Commit

Permalink
Update ERC1155Vault.sol
Browse files Browse the repository at this point in the history
  • Loading branch information
dong77 committed Nov 1, 2023
1 parent 2da6905 commit 04f6244
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/protocol/contracts/tokenvault/ERC1155Vault.sol
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ contract ERC1155Vault is BaseNFTVault, ERC1155ReceiverUpgradeable {
}
// Send back Ether
message.user.sendEther(message.value);

// Emit TokenReleased event
emit TokenReleased({
msgHash: msgHash,
Expand Down Expand Up @@ -310,7 +311,7 @@ contract ERC1155Vault is BaseNFTVault, ERC1155ReceiverUpgradeable {
}
}
msgData = abi.encodeWithSelector(
ERC1155Vault.receiveToken.selector,
this.receiveToken.selector,
nft,
user,
op.to,
Expand Down

0 comments on commit 04f6244

Please sign in to comment.