From be2efeb1e871ce3894030c00442f923f28088889 Mon Sep 17 00:00:00 2001 From: Abhishek Sinha Date: Tue, 23 Oct 2018 20:15:01 +0530 Subject: [PATCH] added fetch_config function to fetch configs from our FLO address --- supernode/index.html | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/supernode/index.html b/supernode/index.html index fb5659a..44fe7ea 100644 --- a/supernode/index.html +++ b/supernode/index.html @@ -7420,9 +7420,7 @@ @@ -7950,13 +7958,12 @@ var RM_TRADE = new localbitcoinplusplus.trade; var RM_RPC = new localbitcoinplusplus.rpc; - // Test: fetch flo comment - RM_TRADE.floAddress = RM_WALLET.rm_flo_addr; - var fetch_configs = RM_TRADE.parse_flo_comments(function (floData) { - console.log(floData); + //Test: fetch flo comment + var rm_configs = RM_TRADE.fetch_configs(function(data) { + console.log(data); }); - // Test: Trade functionality + // // Test: Trade functionality var trade_btn = document.createElement("button"); trade_btn.innerText = "Trade"; trade_btn.onclick = function () {