trim the contract name to have the warning correctly
This commit is contained in:
parent
446787447d
commit
8875b1b7ab
|
@ -178,7 +178,7 @@ class ContractDeployer {
|
|||
deployedAddress = deployedAddress.substr(2);
|
||||
}
|
||||
let linkReference = '__' + filename + ":" + contractObj.className;
|
||||
if (contractCode.indexOf(linkReference) < 0) {
|
||||
if (contractCode.indexOf(linkReference.substr(0, 38)) < 0) { // substr to simulate the cut that solc does
|
||||
continue;
|
||||
}
|
||||
if (linkReference.length > 40) {
|
||||
|
|
Loading…
Reference in New Issue