Skip to content

Commit

Permalink
Makes getAssetMetadata implementation on AbstractMultiAsset virtual.
Browse files Browse the repository at this point in the history
  • Loading branch information
steven2308 committed Apr 10, 2024
1 parent b1f9832 commit 8babe32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contracts/RMRK/multiasset/AbstractMultiAsset.sol
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ abstract contract AbstractMultiAsset is Context, IERC5773 {
function getAssetMetadata(
uint256 tokenId,
uint64 assetId
) public view override returns (string memory metadata) {
) public view virtual override returns (string memory metadata) {
// Allow to get the asset metadata without a token having it:
if (tokenId != 0 && !_tokenAssets[tokenId][assetId])
revert RMRKTokenDoesNotHaveAsset();
Expand Down

0 comments on commit 8babe32

Please sign in to comment.