Skip to content

Commit

Permalink
add tron identity
Browse files Browse the repository at this point in the history
  • Loading branch information
neo hong committed Aug 6, 2021
1 parent 5efacc0 commit 0e36fba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libsolidity/interface/CompilerStack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1652,7 +1652,7 @@ bytes CompilerStack::createCBORMetadata(Contract const& _contract) const
MetadataCBOREncoder encoder;

if (m_metadataHash == MetadataHash::IPFS)
encoder.pushBytes("ipfs", util::ipfsHash(meta));
encoder.pushBytes("tron", util::ipfsHash(meta));
else if (m_metadataHash == MetadataHash::Bzzr1)
encoder.pushBytes("tron", util::bzzr1Hash(meta).asBytes());
else
Expand Down

0 comments on commit 0e36fba

Please sign in to comment.