Fix wallet_import_private_key regression test