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 5efacc0 commit 0e36fbaCopy full SHA for 0e36fba
libsolidity/interface/CompilerStack.cpp
@@ -1652,7 +1652,7 @@ bytes CompilerStack::createCBORMetadata(Contract const& _contract) const
1652
MetadataCBOREncoder encoder;
1653
1654
if (m_metadataHash == MetadataHash::IPFS)
1655
- encoder.pushBytes("ipfs", util::ipfsHash(meta));
+ encoder.pushBytes("tron", util::ipfsHash(meta));
1656
else if (m_metadataHash == MetadataHash::Bzzr1)
1657
encoder.pushBytes("tron", util::bzzr1Hash(meta).asBytes());
1658
else
0 commit comments