mirror of
https://gitee.com/BDWare/common
synced 2025-01-09 17:34: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 String fromContract;
|
||||
String contractID;
|
||||
String contractDOI;
|
||||
// requester = reqPubKey
|
||||
String requester;
|
||||
// DOI of requester
|
||||
@ -46,14 +45,6 @@ public class ContractRequest extends SM2Verifiable
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getContractDOI() {
|
||||
return contractDOI;
|
||||
}
|
||||
|
||||
public void setContractDOI(String doi) {
|
||||
contractDOI = doi;
|
||||
}
|
||||
|
||||
public String getRequester() {
|
||||
return requester;
|
||||
}
|
||||
@ -135,7 +126,7 @@ public class ContractRequest extends SM2Verifiable
|
||||
public String getContentStr() {
|
||||
return String.format(
|
||||
"%s|%s|%s%s|%s",
|
||||
(contractDOI != null && contractDOI.length() > 0) ? contractDOI : contractID,
|
||||
contractID,
|
||||
action,
|
||||
parseArg(),
|
||||
gasLimit > 0 ? "|" + gasLimit : "",
|
||||
|
Loading…
Reference in New Issue
Block a user