mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 01:44:16 +00:00
feat: remove txHash in REvent.getContentStr
remove txHash in REvent.getContentStr to suit EventRecorder
This commit is contained in:
parent
94c9b867de
commit
43282a3201
@ -91,13 +91,12 @@ public class REvent extends SM2Verifiable implements Serializable {
|
|||||||
@Override
|
@Override
|
||||||
public String getContentStr() {
|
public String getContentStr() {
|
||||||
return String.format("{\"topic\":\"%s\",\"content\":\"%s\",\"type\":\"%s\"," +
|
return String.format("{\"topic\":\"%s\",\"content\":\"%s\",\"type\":\"%s\"," +
|
||||||
"\"semantics\":\"%s\",\"requestID\":\"%s\",\"txHash\":\"%s\"}",
|
"\"semantics\":\"%s\",\"requestID\":\"%s\"}",
|
||||||
topic,
|
topic,
|
||||||
content,
|
content,
|
||||||
type,
|
type,
|
||||||
semantics,
|
semantics,
|
||||||
requestID,
|
requestID);
|
||||||
(null == txHash ? "" : txHash));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum REventType {
|
public enum REventType {
|
||||||
|
Loading…
Reference in New Issue
Block a user