From dd0b8b86bbbd83562301ecdfe9918a8995118eb6 Mon Sep 17 00:00:00 2001 From: Joey Zhou Date: Wed, 25 Jun 2014 10:38:09 -0700 Subject: [PATCH] fix for setsecret --- eth/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eth/main.cpp b/eth/main.cpp index 9fffc8def..7410fbe6d 100644 --- a/eth/main.cpp +++ b/eth/main.cpp @@ -604,7 +604,7 @@ int main(int argc, char** argv) { string hexSec; iss >> hexSec; - us = KeyPair(h256(fromHex(argv[++i]))); + us = KeyPair(h256(fromHex(hexSec))); } else if (cmd == "help") interactiveHelp();