ethereum/nft-bridge: Transfer before burn
This is consistent with the token bridge
This commit is contained in:
parent
6b6d172262
commit
f22dfcece3
|
@ -72,9 +72,8 @@ contract NFTBridge is NFTBridgeGovernance {
|
|||
}
|
||||
}
|
||||
|
||||
if (tokenChain == chainId()) {
|
||||
IERC721(token).safeTransferFrom(msg.sender, address(this), tokenID);
|
||||
} else {
|
||||
IERC721(token).safeTransferFrom(msg.sender, address(this), tokenID);
|
||||
if (tokenChain != chainId()) {
|
||||
NFTImplementation(token).burn(tokenID);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue