Remove unused variable

pull/643/head
practicalswift 6 years ago
parent cdf4089457
commit dd777f3e12

@ -64,7 +64,7 @@ void Check(const std::string& prv, const std::string& pub, int flags, const std:
BOOST_CHECK_EQUAL(pub, pub2); BOOST_CHECK_EQUAL(pub, pub2);
// Check that both can be serialized with private key back to the private version, but not without private key. // Check that both can be serialized with private key back to the private version, but not without private key.
std::string prv1, prv2; std::string prv1;
BOOST_CHECK(parse_priv->ToPrivateString(keys_priv, prv1)); BOOST_CHECK(parse_priv->ToPrivateString(keys_priv, prv1));
BOOST_CHECK_EQUAL(prv, prv1); BOOST_CHECK_EQUAL(prv, prv1);
BOOST_CHECK(!parse_priv->ToPrivateString(keys_pub, prv1)); BOOST_CHECK(!parse_priv->ToPrivateString(keys_pub, prv1));

Loading…
Cancel
Save