Use the new namecoin-cli command
This commit is contained in:
parent
71a61b854f
commit
5988baf47c
@ -46,7 +46,7 @@ exec ProgArgs{..} =
|
|||||||
|
|
||||||
doLocal :: String -> Bool -> IO ()
|
doLocal :: String -> Bool -> IO ()
|
||||||
doLocal name block = do
|
doLocal name block = do
|
||||||
out <- readProcess "namecoind" ["name_show", name] ""
|
out <- readProcess "namecoin-cli" ["name_show", name] ""
|
||||||
case decode (pack out) of
|
case decode (pack out) of
|
||||||
Nothing -> putStrLn "Error parsing data"
|
Nothing -> putStrLn "Error parsing data"
|
||||||
Just res -> do
|
Just res -> do
|
||||||
|
Loading…
Reference in New Issue
Block a user