Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit ee13d97

Browse files
author
Ben Ford
committed
[DEVOPS-834] Fixed API change of getNodeInfo
1 parent 711ac13 commit ee13d97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

faucet/src/Cardano/Faucet/Init.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ import System.Wlog (CanLog, HasLoggerName, LoggerNameBox (..),
5050
liftLogIO, logDebug, logError, logInfo, withSublogger)
5151

5252
import Cardano.Wallet.API.V1.Types (Account (..), Address,
53-
AssuranceLevel (NormalAssurance), BackupPhrase (..),
53+
AssuranceLevel (NormalAssurance), BackupPhrase (..), ForceNtpCheck(..),
5454
NewWallet (..), NodeInfo (..), Payment (..),
5555
PaymentDistribution (..), PaymentSource (..),
5656
SyncPercentage, V1 (..), Wallet (..), WalletAddress (..),
@@ -98,7 +98,7 @@ getSyncState
9898
=> WalletClient m
9999
-> m (Either ClientError SyncPercentage)
100100
getSyncState client = do
101-
r <- getNodeInfo client
101+
r <- getNodeInfo client ForceNtpCheck
102102
return (nfoSyncProgress . wrData <$> r)
103103

104104
--------------------------------------------------------------------------------

0 commit comments

Comments
 (0)