prune doi

This commit is contained in:
CaiHQ 2023-03-31 17:12:18 +08:00
parent 469fa271d4
commit f6e438176b

View File

@ -16,7 +16,6 @@ public class ContractRequest extends SM2Verifiable
public boolean withEvaluatesAnalysis = false; public boolean withEvaluatesAnalysis = false;
public String fromContract; public String fromContract;
String contractID; String contractID;
String contractDOI;
// requester = reqPubKey // requester = reqPubKey
String requester; String requester;
// DOI of requester // DOI of requester
@ -46,14 +45,6 @@ public class ContractRequest extends SM2Verifiable
return this; return this;
} }
public String getContractDOI() {
return contractDOI;
}
public void setContractDOI(String doi) {
contractDOI = doi;
}
public String getRequester() { public String getRequester() {
return requester; return requester;
} }
@ -135,7 +126,7 @@ public class ContractRequest extends SM2Verifiable
public String getContentStr() { public String getContentStr() {
return String.format( return String.format(
"%s|%s|%s%s|%s", "%s|%s|%s%s|%s",
(contractDOI != null && contractDOI.length() > 0) ? contractDOI : contractID, contractID,
action, action,
parseArg(), parseArg(),
gasLimit > 0 ? "|" + gasLimit : "", gasLimit > 0 ? "|" + gasLimit : "",