@@ -34,7 +34,7 @@ import qualified Data.Text as T
34
34
import Data.Text.Encoding (encodeUtf8 )
35
35
import qualified Data.Text.IO as TIO
36
36
import Formatting (build , int , sformat , shown , stext ,
37
- (%) )
37
+ string , (%) )
38
38
39
39
import Serokell.Util.Text (show' )
40
40
@@ -148,7 +148,7 @@ processListAddresses st =
148
148
unless (length coins < 2 ) $
149
149
forM_ (tail coins)
150
150
(TIO. putStrLn . sformat (spaces % build))
151
- unless hasSecret $ TIO. putStrLn " (!! This address doesn't have secret key"
151
+ unless hasSecret $ TIO. putStrLn " (!) This address doesn't have secret key"
152
152
case strategy of
153
153
C. DefaultStrategy -> return ()
154
154
C. MOfNStrategy m allowed -> do
@@ -345,7 +345,6 @@ processImportAddress st skPathMaybe pkPath heightFrom heightTo= do
345
345
pk <- liftIO $ C. logInfo " Reading pk..." >> C. readPublicKey pkPath
346
346
sk <- liftIO $ flip (maybe (return Nothing )) skPathMaybe $ \ skPath ->
347
347
C. logInfo " Reading sk..." >> Just <$> C. readSecretKey skPath
348
- C. logInfo " Starting blockchain query process"
349
348
importAddress st (sk,pk) heightFrom heightTo
350
349
C. logInfo " Finished, your address successfully added"
351
350
@@ -384,9 +383,8 @@ processExportAddress st addrId filepath = do
384
383
liftIO $ C. writePublicKey (filepath <> " .pub" ) pk
385
384
C. logInfo $
386
385
sformat
387
- (" Dumped secret key into " % shown % " , public into " %
388
- shown %
389
- " .pub" )
386
+ (" Dumped secret key into '" % string %
387
+ " ', public into '" % string % " .pub'" )
390
388
filepath
391
389
filepath
392
390
C. MOfNStrategy m parties ->
0 commit comments