From 883336089e28ab6eb66ad9da3351aca8655c30de Mon Sep 17 00:00:00 2001 From: philsmd Date: Sat, 4 Aug 2018 19:26:42 +0200 Subject: [PATCH] test: fixed verify code for -m 16600 = Electrum Wallet --- tools/test.pl | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tools/test.pl b/tools/test.pl index f9632e812..c58145060 100755 --- a/tools/test.pl +++ b/tools/test.pl @@ -9720,13 +9720,11 @@ END_CODE { my $encrypted_bin = pack ("H*", $additional_param3); - my $test_bin = $cipher->decrypt ($encrypted_bin); - - my $test = unpack ("H*", $test_bin); + my $test = $cipher->decrypt ($encrypted_bin); if ($test =~ /^[0-9a-f]+$/) { - $plain_bin = $test_bin; + $plain_bin = $test; } else {