Skip to content
Snippets Groups Projects
Commit 253bea91 authored by Mahdi Yari's avatar Mahdi Yari
Browse files

node => api

parent 934bb134
No related branches found
No related tags found
1 merge request!7Rebrand hf24
...@@ -9,5 +9,5 @@ ...@@ -9,5 +9,5 @@
"chain_id": "beeab0de00000000000000000000000000000000000000000000000000000000", "chain_id": "beeab0de00000000000000000000000000000000000000000000000000000000",
"alternative_api_endpoints": ["https://api.hive.blog", "https://anyx.io"], "alternative_api_endpoints": ["https://api.hive.blog", "https://anyx.io"],
"failover_threshold": 3, "failover_threshold": 3,
"rebranded_node": false "rebranded_api": false
} }
...@@ -2,8 +2,8 @@ import get from "lodash/get"; ...@@ -2,8 +2,8 @@ import get from "lodash/get";
import { key_utils } from "./auth/ecc"; import { key_utils } from "./auth/ecc";
import config from "./config" import config from "./config"
const HiveVar = config.get("rebranded_node") ? "hive" : "steem" const HiveVar = config.get("rebranded_api") ? "hive" : "steem"
const HbdVar = config.get("rebranded_node") ? "hbd" : "sbd" const HbdVar = config.get("rebranded_api") ? "hbd" : "sbd"
module.exports = hiveAPI => { module.exports = hiveAPI => {
function numberWithCommas(x) { function numberWithCommas(x) {
...@@ -79,7 +79,7 @@ module.exports = hiveAPI => { ...@@ -79,7 +79,7 @@ module.exports = hiveAPI => {
let orders, savings; let orders, savings;
// TODO: remove vesting_steem // TODO: remove vesting_steem
// this is necessary to work with unbranded nodes // this is necessary to work with unbranded apis
if (vesting_steem) { if (vesting_steem) {
vesting_hive = vesting_steem vesting_hive = vesting_steem
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment