Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ set(
${BELDEX_CORE_CPP_SRC}/serial_bridge_utils.cpp
${BELDEX_CORE_CPP_SRC}/tools__ret_vals.hpp
${BELDEX_CORE_CPP_SRC}/tools__ret_vals.cpp
${BELDEX_CORE_CPP_SRC}/register_mn_data.hpp
#
${BELDEX_LIBAPP_CPP_SRC}/SendFunds/Controllers/SendFundsFormSubmissionController.hpp
${BELDEX_LIBAPP_CPP_SRC}/SendFunds/Controllers/SendFundsFormSubmissionController.cpp
Expand Down Expand Up @@ -100,6 +101,8 @@ set(
${BELDEX_SRC}/crypto/jh.c
${BELDEX_SRC}/crypto/skein.c
${BELDEX_SRC}/cryptonote_core/cryptonote_tx_utils.cpp
${BELDEX_SRC}/cryptonote_core/master_node_list.cpp
${BELDEX_SRC}/cryptonote_core/master_node_rules.cpp
${BELDEX_SRC}/common/base58.cpp
${BELDEX_SRC}/common/threadpool.cpp
${BELDEX_SRC}/common/aligned.c
Expand Down
5 changes: 4 additions & 1 deletion libapp_js/BeldexLibAppBridgeClass.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,9 @@ class BeldexLibAppBridgeClass extends MyMoneroCoreBridgeEssentialsClass
self._cb_handlers__SendFundsFormSubmission = null // reset so we can enter process again
};
const args =
{
{
registration_string: fn_args.registration_string,
isRegisterStr: fn_args.isRegister,
fromWallet_didFailToInitialize: fn_args.fromWallet_didFailToInitialize,
fromWallet_didFailToBoot: fn_args.fromWallet_didFailToBoot,
fromWallet_needsImport: fn_args.fromWallet_needsImport,
Expand Down Expand Up @@ -249,6 +251,7 @@ class BeldexLibAppBridgeClass extends MyMoneroCoreBridgeEssentialsClass
args.resolvedPaymentID = fn_args.resolvedPaymentID;
}
const args_str = JSON.stringify(args, null, '')
// console.log('semd-funds args_str', args_str);
const ret_string = this.Module.send_funds(args_str);
const ret = JSON.parse(ret_string);
if (typeof ret.err_msg !== 'undefined' && ret.err_msg) { // this is actually an exception
Expand Down
Loading