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
|
||||
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 {
|
||||
|
Loading…
Reference in New Issue
Block a user