We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fe37ed commit 3260421Copy full SHA for 3260421
contracts/src/Ethscriptions.sol
@@ -368,8 +368,7 @@ contract Ethscriptions is ERC721EthscriptionsUpgradeable {
368
369
/// @notice Get ethscription details (returns struct to avoid stack too deep)
370
function getEthscription(bytes32 ethscriptionId) external view returns (Ethscription memory) {
371
- Ethscription storage ethscription = _getEthscriptionOrRevert(ethscriptionId);
372
- return ethscription;
+ return _getEthscriptionOrRevert(ethscriptionId);
373
}
374
375
/// @notice Get content for an ethscription
0 commit comments