Skip to content

Commit 3260421

Browse files
committed
Cleanup
1 parent 1fe37ed commit 3260421

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

contracts/src/Ethscriptions.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -368,8 +368,7 @@ contract Ethscriptions is ERC721EthscriptionsUpgradeable {
368368

369369
/// @notice Get ethscription details (returns struct to avoid stack too deep)
370370
function getEthscription(bytes32 ethscriptionId) external view returns (Ethscription memory) {
371-
Ethscription storage ethscription = _getEthscriptionOrRevert(ethscriptionId);
372-
return ethscription;
371+
return _getEthscriptionOrRevert(ethscriptionId);
373372
}
374373

375374
/// @notice Get content for an ethscription

0 commit comments

Comments
 (0)