Merge changes from clemahieu/master
This commit is contained in:
parent
2c10bd327c
commit
eb1a3c7a76
1 changed files with 2 additions and 2 deletions
|
@ -629,7 +629,7 @@ void rai_qt::block_viewer::rebroadcast_action (rai::uint256_union const & hash_a
|
|||
auto block (wallet.node.store.block_get (transaction, hash_a));
|
||||
if (block != nullptr)
|
||||
{
|
||||
wallet.node.network.republish_block (*block);
|
||||
wallet.node.network.republish_block (std::move (block));
|
||||
auto successor (wallet.node.store.block_successor (transaction, hash_a));
|
||||
if (!successor.is_zero ())
|
||||
{
|
||||
|
@ -939,7 +939,7 @@ void rai_qt::wallet::start ()
|
|||
{
|
||||
if (auto this_l = this_w.lock ())
|
||||
{
|
||||
this_l->wallet_m->send_async (this_l->account, account_l, actual, [this_w] (std::unique_ptr <rai::block> block_a)
|
||||
this_l->wallet_m->send_async (this_l->account, account_l, actual, [this_w] (std::shared_ptr <rai::block> block_a)
|
||||
{
|
||||
if (auto this_l = this_w.lock ())
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue