Skip to content

Commit

Permalink
Merge pull request #29 from mtm5/master
Browse files Browse the repository at this point in the history
add generatedAt to Fixture message
  • Loading branch information
gljubojevic authored Apr 12, 2023
2 parents 21bffaa + 7d680f6 commit 247c12a
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 247c12a

Please sign in to comment.