moved flo addresses to localbitcoinplusplus object and configured their properties
This commit is contained in:
parent
d15d7b7fa3
commit
b5581a8526
@ -7191,10 +7191,37 @@
|
||||
wallets: {},
|
||||
trade: {},
|
||||
rpc: {},
|
||||
rm_configs: {},
|
||||
flocha: "https://testnet.flocha.in"
|
||||
rm_configs: {}
|
||||
};
|
||||
|
||||
Object.defineProperty(localbitcoinplusplus, 'flocha', {
|
||||
value: "https://testnet.flocha.in",
|
||||
writable: false,
|
||||
configurable: false,
|
||||
enumerable: false
|
||||
});
|
||||
|
||||
Object.defineProperty(localbitcoinplusplus, 'MASTER_NODE', {
|
||||
value: "023B9F60692A17FAC805D012C5C8ADA3DD19A980A3C5F0D8A5B3500CC54D6E8B75",
|
||||
writable: false,
|
||||
configurable: false,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
Object.defineProperty(localbitcoinplusplus, "RM_FLO_SENDING_ADDR", {
|
||||
value: "oUbQYNBo7hWRcVN4dnx2ZQPfumfnTS7NsP", //C2832A5C3AEFFA1583379A67AB9B92CB7EC6566CCB35F00A9F1AF08EBD74B235
|
||||
writable: false,
|
||||
configurable: false,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
Object.defineProperty(localbitcoinplusplus, "RM_FLO_RECEIVING_ADDR", {
|
||||
value: "oVRq2nka1GtALQT8pbuLHAGjqAQ7PAo6uy", // 79F82A750FF2EAE51A50BE242043634B3DDE7ABE3B09732A7842A56CFE3C098E
|
||||
writable: false,
|
||||
configurable: false,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
localbitcoinplusplus.privateKey = {
|
||||
isPrivateKey: function (key) {
|
||||
return (
|
||||
@ -7717,9 +7744,6 @@
|
||||
<script>
|
||||
/*Initiate trade level with 0*/
|
||||
var Trade = localbitcoinplusplus.trade = function processTrade() {
|
||||
const MASTER_NODE = "023B9F60692A17FAC805D012C5C8ADA3DD19A980A3C5F0D8A5B3500CC54D6E8B75"; // pub key
|
||||
const RM_FLO_SENDING_ADDR = "oUbQYNBo7hWRcVN4dnx2ZQPfumfnTS7NsP"; // C2832A5C3AEFFA1583379A67AB9B92CB7EC6566CCB35F00A9F1AF08EBD74B235
|
||||
const RM_FLO_RECEIVING_ADDR = "oVRq2nka1GtALQT8pbuLHAGjqAQ7PAo6uy"; // 79F82A750FF2EAE51A50BE242043634B3DDE7ABE3B09732A7842A56CFE3C098E
|
||||
this.errors = [];
|
||||
this.level = 0; // default
|
||||
this.order_type = null;
|
||||
@ -7737,7 +7761,7 @@
|
||||
this.super_nodes_array = null;
|
||||
|
||||
this.fetch_configs = function (callback) {
|
||||
this.floAddress = RM_FLO_SENDING_ADDR;
|
||||
this.floAddress = localbitcoinplusplus.RM_FLO_SENDING_ADDR;
|
||||
this.parse_flo_comments(function (floData) {
|
||||
let RMAssets = floData.slice(5);
|
||||
|
||||
@ -8152,6 +8176,7 @@
|
||||
/* Websocket Code Ends Here*/
|
||||
</script>
|
||||
|
||||
<!-- Indexed DB -->
|
||||
<script>
|
||||
//prefixes of implementation that we want to test
|
||||
window.indexedDB = window.indexedDB || window.mozIndexedDB ||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user