feat: remove txHash in REvent.getContentStr

remove txHash in REvent.getContentStr to suit EventRecorder
This commit is contained in:
Frank.R.Wu 2021-12-29 20:24:03 +08:00
parent 94c9b867de
commit 43282a3201

View File

@ -91,13 +91,12 @@ public class REvent extends SM2Verifiable implements Serializable {
@Override
public String getContentStr() {
return String.format("{\"topic\":\"%s\",\"content\":\"%s\",\"type\":\"%s\"," +
"\"semantics\":\"%s\",\"requestID\":\"%s\",\"txHash\":\"%s\"}",
"\"semantics\":\"%s\",\"requestID\":\"%s\"}",
topic,
content,
type,
semantics,
requestID,
(null == txHash ? "" : txHash));
requestID);
}
public enum REventType {