From 8f89f9a726310f6449c1850af08fd3f818a0d939 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Mon, 29 Jun 2015 05:19:32 +0200 Subject: [PATCH] Use the new namecoin-cli command --- namecoin-update.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/namecoin-update.hs b/namecoin-update.hs index cbe990e..48350c8 100644 --- a/namecoin-update.hs +++ b/namecoin-update.hs @@ -6,8 +6,8 @@ import Data.Aeson import Data.Aeson.TH import Data.ByteString.Lazy.Char8 (pack) -readCommand = readProcess "namecoind" ["name_list"] "" -updateCommand n v = readProcessWithExitCode "namecoind" ["name_update", n, v] "" +readCommand = readProcess "namecoin-cli" ["name_list"] "" +updateCommand n v = readProcessWithExitCode "namecoin-cli" ["name_update", n, v] "" data Name = Name { name :: String , value :: String