From f6e438176ba75e40b58a0c7bdebdb3e912aafb4c Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Fri, 31 Mar 2023 17:12:18 +0800 Subject: [PATCH] prune doi --- .../entry/org/bdware/sc/bean/ContractRequest.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/main/entry/org/bdware/sc/bean/ContractRequest.java b/src/main/entry/org/bdware/sc/bean/ContractRequest.java index 0af1509..d90f1e3 100644 --- a/src/main/entry/org/bdware/sc/bean/ContractRequest.java +++ b/src/main/entry/org/bdware/sc/bean/ContractRequest.java @@ -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 : "",