From b85e82bf6a0c4e0598e29b92a9cc9437bb666360 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 14 Nov 2017 20:34:32 +0000 Subject: Fix e89994e98f85be95d68c7bf471fcadf9aabbc93a Missed an input_line() change --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 19a0614ec..699690ac3 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -1270,7 +1270,7 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm) { m_wallet_file = m_generate_from_spend_key; // parse spend secret key - std::string spendkey_string = command_line::input_line("Secret spend key: "); + std::string spendkey_string = input_line("Secret spend key: "); if (std::cin.eof()) return false; if (spendkey_string.empty()) { -- cgit v1.2.3 From 29cee4ec4fade9e7a60b18c6d1ba2984d624a2f0 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 14 Nov 2017 20:35:30 +0000 Subject: Fix 383ff4f68943c5d998fba8caa20aee481583f214 Missed a crypto::null_pkey in PR#2629 --- src/simplewallet/simplewallet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/simplewallet/simplewallet.cpp') diff --git a/src/simplewallet/simplewallet.cpp b/src/simplewallet/simplewallet.cpp index 699690ac3..abf2f2aef 100644 --- a/src/simplewallet/simplewallet.cpp +++ b/src/simplewallet/simplewallet.cpp @@ -3752,7 +3752,7 @@ bool simple_wallet::get_tx_proof(const std::vector &args) // fetch tx pubkey crypto::public_key tx_pub_key = get_tx_pub_key_from_extra(tx); - if (tx_pub_key == null_pkey) + if (tx_pub_key == crypto::null_pkey) { fail_msg_writer() << tr("Tx pubkey was not found"); return true; -- cgit v1.2.3