Skip to content

Commit

Permalink
use correct timestamps in status headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jhbertra committed Jun 26, 2023
1 parent 6966b4d commit 7f1b490
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -738,11 +738,11 @@ instance ToDTO RuntimeStatus where
Chain.Genesis -> Web.ChainTipGenesis nodeTipUTC
Chain.At blockHeader -> Web.ChainTip (toDTO blockHeader) nodeTipUTC
, runtimeChainTip = case runtimeChainTip of
Chain.Genesis -> Web.ChainTipGenesis nodeTipUTC
Chain.At blockHeader -> Web.ChainTip (toDTO blockHeader) nodeTipUTC
Chain.Genesis -> Web.ChainTipGenesis runtimeChainTipUTC
Chain.At blockHeader -> Web.ChainTip (toDTO blockHeader) runtimeChainTipUTC
, runtimeTip = case runtimeTip of
Chain.Genesis -> Web.ChainTipGenesis nodeTipUTC
Chain.At blockHeader -> Web.ChainTip (toDTO blockHeader) nodeTipUTC
Chain.Genesis -> Web.ChainTipGenesis runtimeTipUTC
Chain.At blockHeader -> Web.ChainTip (toDTO blockHeader) runtimeTipUTC
, networkId = case networkId of
Mainnet -> Web.Mainnet
Testnet (NetworkMagic n) -> Web.Testnet n
Expand Down

0 comments on commit 7f1b490

Please sign in to comment.