From 15e98fce034d6e276783b78986ce00c1aa077a48 Mon Sep 17 00:00:00 2001 From: mxaddict Date: Thu, 18 Jan 2024 11:51:48 +0800 Subject: [PATCH] Updates --- src/test/blsct/wallet/txfactory_tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/blsct/wallet/txfactory_tests.cpp b/src/test/blsct/wallet/txfactory_tests.cpp index 3a1a38bdb8b0b..759568dc1913d 100644 --- a/src/test/blsct/wallet/txfactory_tests.cpp +++ b/src/test/blsct/wallet/txfactory_tests.cpp @@ -20,7 +20,7 @@ BOOST_FIXTURE_TEST_CASE(ismine_test, TestingSetup) wallet::DatabaseOptions options; options.create_flags |= wallet::WALLET_FLAG_BLSCT; - std::shared_ptr wallet(new wallet::CWallet(m_node.chain.get(), "", wallet::CreateMockableWalletDatabase())); + auto wallet = std::make_unique(m_node.chain.get(), "", wallet::CreateMockableWalletDatabase()); LOCK(wallet->cs_wallet); auto blsct_km = wallet->GetOrCreateBLSCTKeyMan();