diff --git a/docs/swagger/swagger.yaml b/docs/swagger/swagger.yaml index 7de8df97b3..48872a0808 100644 --- a/docs/swagger/swagger.yaml +++ b/docs/swagger/swagger.yaml @@ -1510,10 +1510,6 @@ paths: description: The UUID of the node that generated the batch format: uuid type: string - payloadRef: - description: For broadcast batches, this is the reference to - the binary batch in shared storage - type: string tx: description: The FireFly transaction associated with this batch properties: @@ -1598,10 +1594,6 @@ paths: description: The UUID of the node that generated the batch format: uuid type: string - payloadRef: - description: For broadcast batches, this is the reference to the - binary batch in shared storage - type: string tx: description: The FireFly transaction associated with this batch properties: @@ -10512,10 +10504,6 @@ paths: description: The UUID of the node that generated the batch format: uuid type: string - payloadRef: - description: For broadcast batches, this is the reference to - the binary batch in shared storage - type: string tx: description: The FireFly transaction associated with this batch properties: @@ -10607,10 +10595,6 @@ paths: description: The UUID of the node that generated the batch format: uuid type: string - payloadRef: - description: For broadcast batches, this is the reference to the - binary batch in shared storage - type: string tx: description: The FireFly transaction associated with this batch properties: diff --git a/pkg/core/batch.go b/pkg/core/batch.go index 799166d8bd..a8e187fb60 100644 --- a/pkg/core/batch.go +++ b/pkg/core/batch.go @@ -78,11 +78,10 @@ type Batch struct { // BatchPersisted is the structure written to the database type BatchPersisted struct { BatchHeader - Hash *fftypes.Bytes32 `ffstruct:"Batch" json:"hash"` - Manifest *fftypes.JSONAny `ffstruct:"Batch" json:"manifest"` - TX TransactionRef `ffstruct:"Batch" json:"tx"` - PayloadRef string `ffstruct:"Batch" json:"payloadRef,omitempty"` - Confirmed *fftypes.FFTime `ffstruct:"Batch" json:"confirmed"` + Hash *fftypes.Bytes32 `ffstruct:"Batch" json:"hash"` + Manifest *fftypes.JSONAny `ffstruct:"Batch" json:"manifest"` + TX TransactionRef `ffstruct:"Batch" json:"tx"` + Confirmed *fftypes.FFTime `ffstruct:"Batch" json:"confirmed"` } // BatchPayload contains the full JSON of the messages and data, but