Skip to content

Commit

Permalink
(hotfix) add generatedAt to Fixture message
Browse files Browse the repository at this point in the history
  • Loading branch information
mtm5 committed Apr 6, 2023
1 parent 21bffaa commit 7d680f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions message.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ func (m *Message) unpack() error {
case MessageTypeFixture:
fr := FixtureRsp{}
unmarshal(&fr)
m.Timestamp = int(fr.GeneratedAt.UnixNano() / 1e6)
m.Fixture = &fr.Fixture
case MessageTypeMarkets:
md := &MarketsRsp{}
Expand Down

0 comments on commit 7d680f6

Please sign in to comment.