Use the new namecoin-cli command

This commit is contained in:
rnhmjoj 2015-06-29 05:23:26 +02:00
parent 71a61b854f
commit 5988baf47c

View File

@ -46,7 +46,7 @@ exec ProgArgs{..} =
doLocal :: String -> Bool -> IO ()
doLocal name block = do
out <- readProcess "namecoind" ["name_show", name] ""
out <- readProcess "namecoin-cli" ["name_show", name] ""
case decode (pack out) of
Nothing -> putStrLn "Error parsing data"
Just res -> do