mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 01:44:16 +00:00
prune doi
This commit is contained in:
parent
469fa271d4
commit
f6e438176b
@ -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 : "",
|
||||||
|
Loading…
Reference in New Issue
Block a user