diff --git a/README.md b/README.md index ab3d9fd7..b6736f8b 100644 --- a/README.md +++ b/README.md @@ -101,7 +101,7 @@ When analyzing contracts on the blockchain, Mythril will by default query a loca | None   | Connect to local Ethereum node | | `-i`     | Connect to INFURA Mainnet via HTTPS | | `--rpc ganache` | Connect to local Ganache | -| `--rpc infura-[netname]` | Connect to infura-mainnet, rinkey, kovan or ropsten | +| `--rpc infura-[netname]` | Connect to infura-mainnet, rinkeby, kovan or ropsten | | `--rpc HOST:PORT` | Custom RPC connection Custom | | `--rpctls ` | RPC connection over TLS (default: False) | | `--ipc` | Connect to local Ethereum node via IPC | diff --git a/mythril/support/truffle.py b/mythril/support/truffle.py index 5be036e7..a90a7858 100644 --- a/mythril/support/truffle.py +++ b/mythril/support/truffle.py @@ -55,7 +55,7 @@ def analyze_truffle_project(args): report = Report() # augment with source code - disassembly = ethcontract.get_disassembly() + disassembly = ethcontract.disassembly source = contractdata['source'] deployedSourceMap = contractdata['deployedSourceMap'].split(";")