removed old comments

pull/71/head
Paul Shapiro 6 years ago
parent 60d5897325
commit 4936f4ec6d

@ -550,7 +550,7 @@ class MyMoneroCoreBridge
async__send_funds(fn_args)
{
const self = this;
const task_id = self.__new_task_id(); // TODO: generate unique ID ... and return it ?
const task_id = self.__new_task_id();
// register cb handler fns to wait for calls with thi task id
if (typeof self._cb_handlers__send_funds == 'undefined' || !self._cb_handlers__send_funds) {
self._cb_handlers__send_funds = {}

@ -596,7 +596,7 @@ void emscr_async_bridge::send_cb_III__submitted_tx(const string &args_string)
success_retVals.total_sent = *(ptrTo_taskAsyncContext->step1_retVals__final_total_wo_fee) + *(ptrTo_taskAsyncContext->step1_retVals__using_fee);
success_retVals.mixin = *(ptrTo_taskAsyncContext->step1_retVals__mixin);
{
optional<string> returning__payment_id = ptrTo_taskAsyncContext->payment_id_string; // separated from submit_raw_tx_fn so that it can be captured w/o capturing all of args (FIXME: does this matter anymore?)
optional<string> returning__payment_id = ptrTo_taskAsyncContext->payment_id_string; // separated from submit_raw_tx_fn so that it can be captured w/o capturing all of args
if (returning__payment_id == none) {
auto decoded = monero::address_utils::decodedAddress(ptrTo_taskAsyncContext->to_address_string, ptrTo_taskAsyncContext->nettype);
if (decoded.did_error) { // would be very strange...

Loading…
Cancel
Save