Skip to content

Commit

Permalink
feat: update network tip endpoint epoch no
Browse files Browse the repository at this point in the history
Signed-off-by: Marko Kungla <[email protected]>
  • Loading branch information
mkungla committed Mar 17, 2022
1 parent 8fa067a commit 4bd114f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ type (
TokenRegistryMetadata *TokenRegistryMetadata `json:"token_registry_metadata"`

// Asset Policy ID (hex).
PolicyID PolicyID `json:"policy_id"`
PolicyID PolicyID `json:"policy_id,omitempty"`

// TotalSupply of Asset
TotalSupply Lovelace `json:"total_supply"`
Expand Down
4 changes: 2 additions & 2 deletions network.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ type (
// Timestamp for when the block was created
BlockTime string `json:"block_time"`

// Epoch number
Epoch int `json:"epoch"`
// EpochNo number
EpochNo int `json:"epoch_no"`

// Slot number within Epoch
EpochSlot int `json:"epoch_slot"`
Expand Down
Binary file modified testdata/endpoint_network_tip.json.gz
Binary file not shown.

0 comments on commit 4bd114f

Please sign in to comment.