fix queryCNS when constructor Contract object
@@ -72,7 +72,8 @@ public abstract class Contract extends ManagedTransaction {
TransactionManager transactionManager,
ContractGasProvider gasProvider) {
super(web3j, transactionManager);
- this.contractAddress = cnsService.getAddressByContractNameAndVersion(contractAddress);
+ this.contractAddress = contractAddress;
+ // this.contractAddress = cnsService.getAddressByContractNameAndVersion(contractAddress);
this.contractBinary = contractBinary;
this.gasProvider = gasProvider;
}
