compiling with vector<monero_wallet_listener*> m_listeners

This commit is contained in:
woodser
2019-08-10 11:40:45 -04:00
parent d485400481
commit 28a642b5bc
3 changed files with 61 additions and 44 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ int main(int argc, const char* argv[]) {
shared_ptr<monero_key_image> key_image = output.m_key_image.get();
}
} my_listener;
wallet_random->set_listener(my_listener);
wallet_random->add_listener(my_listener);
// send funds from the restored wallet to the random wallet
shared_ptr<monero_tx_wallet> sent_tx = wallet_restored->send(0, wallet_random->get_address(1, 0), 50000);