Skip to content

Commit d291f61

Browse files
authored
Updated Timestamp type in DalPublishCommitment (#33)
1 parent 7ba4ea8 commit d291f61

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tzkt/data/operations.go

+14-14
Original file line numberDiff line numberDiff line change
@@ -867,18 +867,18 @@ type SrGameInfo struct {
867867
}
868868

869869
type DalPublishCommitment struct {
870-
Type string `json:"type"`
871-
ID uint64 `json:"id"`
872-
Level uint64 `json:"level"`
873-
Timestamp string `json:"timestamp"`
874-
Hash string `json:"hash"`
875-
Sender *Address `json:"sender"`
876-
Counter uint64 `json:"counter"`
877-
GasLimit uint64 `json:"gasLimit"`
878-
GasUsed uint64 `json:"gasUsed"`
879-
StorageLimit uint64 `json:"storageLimit"`
880-
BakerFee uint64 `json:"bakerFee"`
881-
Slot int `json:"slot"`
882-
Commitment string `json:"commitment"`
883-
Status string `json:"status"`
870+
Type string `json:"type"`
871+
ID uint64 `json:"id"`
872+
Level uint64 `json:"level"`
873+
Timestamp time.Time `json:"timestamp"`
874+
Hash string `json:"hash"`
875+
Sender *Address `json:"sender"`
876+
Counter uint64 `json:"counter"`
877+
GasLimit uint64 `json:"gasLimit"`
878+
GasUsed uint64 `json:"gasUsed"`
879+
StorageLimit uint64 `json:"storageLimit"`
880+
BakerFee uint64 `json:"bakerFee"`
881+
Slot int `json:"slot"`
882+
Commitment string `json:"commitment"`
883+
Status string `json:"status"`
884884
}

0 commit comments

Comments
 (0)