diff options
author | chriseth <c@ethdev.com> | 2016-08-01 18:04:49 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2016-08-01 18:05:50 +0800 |
commit | f463382f9dee000efd19b3d25f22162f3b1b4f95 (patch) | |
tree | 58c0355ac56fae350460bae485e8ea37791ed9c4 | |
parent | 8c5a56d8648c9722d96638bf6dc1be94c7828cb3 (diff) | |
download | dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar.gz dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar.bz2 dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar.lz dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar.xz dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.tar.zst dexon-solidity-f463382f9dee000efd19b3d25f22162f3b1b4f95.zip |
Bugfix: Correctly use srcmap-runtime.
-rw-r--r-- | solc/CommandLineInterface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index ac8db160..ec87b891 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -668,7 +668,7 @@ void CommandLineInterface::handleCombinedJSON() if (requests.count("srcmap-runtime")) { auto map = m_compiler->runtimeSourceMapping(contractName); - contractData["srcmap"] = map ? *map : ""; + contractData["srcmap-runtime"] = map ? *map : ""; } if (requests.count("devdoc")) contractData["devdoc"] = m_compiler->metadata(contractName, DocumentationType::NatspecDev); |