diff --git a/wallet/base_tx_builder.cpp b/wallet/base_tx_builder.cpp index 78b71dbb2..6fbd18f5e 100644 --- a/wallet/base_tx_builder.cpp +++ b/wallet/base_tx_builder.cpp @@ -137,7 +137,7 @@ namespace beam::wallet { m_Outputs = move(result); FinalizeOutputs(); - m_Tx.UpdateAsync(); + m_Tx.Update(); m_Tx.GetAsyncAcontext().OnAsyncFinished(); }, [thisHolder, this](const exception&) diff --git a/wallet/unittests/wallet_test.cpp b/wallet/unittests/wallet_test.cpp index a5a0e04c0..5da84fd63 100644 --- a/wallet/unittests/wallet_test.cpp +++ b/wallet/unittests/wallet_test.cpp @@ -1110,10 +1110,9 @@ namespace boost::filesystem::copy_file(ReceiverWalletDB, publicPath); auto publicDB = WalletDB::open(publicPath, DBPassword, io::Reactor::get_Current().shared_from_this()); - TestWalletRig publicReceiver("public_receiver", publicDB, f, false, true); + TestWalletRig publicReceiver("public_receiver", publicDB, f); mainReactor->run(); - mainReactor->run(); // to allow receiver complete this transaction } // hot -> cold