Skip to content

Commit

Permalink
#624 tests fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolse committed Jun 6, 2019
1 parent 63c2608 commit 0279b8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion wallet/base_tx_builder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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&)
Expand Down
3 changes: 1 addition & 2 deletions wallet/unittests/wallet_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0279b8a

Please sign in to comment.