Skip to content

Commit 0e36fba

Browse files
author
neo hong
committed
add tron identity
1 parent 5efacc0 commit 0e36fba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/interface/CompilerStack.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1652,7 +1652,7 @@ bytes CompilerStack::createCBORMetadata(Contract const& _contract) const
16521652
MetadataCBOREncoder encoder;
16531653

16541654
if (m_metadataHash == MetadataHash::IPFS)
1655-
encoder.pushBytes("ipfs", util::ipfsHash(meta));
1655+
encoder.pushBytes("tron", util::ipfsHash(meta));
16561656
else if (m_metadataHash == MetadataHash::Bzzr1)
16571657
encoder.pushBytes("tron", util::bzzr1Hash(meta).asBytes());
16581658
else

0 commit comments

Comments
 (0)