Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hive-js
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hive-js
Commits
253bea91
Commit
253bea91
authored
4 years ago
by
Mahdi Yari
Browse files
Options
Downloads
Patches
Plain Diff
node => api
parent
934bb134
No related branches found
No related tags found
1 merge request
!7
Rebrand hf24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
config.json
+1
-1
1 addition, 1 deletion
config.json
src/formatter.js
+3
-3
3 additions, 3 deletions
src/formatter.js
with
4 additions
and
4 deletions
config.json
+
1
−
1
View file @
253bea91
...
@@ -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
}
}
This diff is collapsed.
Click to expand it.
src/formatter.js
+
3
−
3
View file @
253bea91
...
@@ -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
node
s
// this is necessary to work with unbranded
api
s
if
(
vesting_steem
)
{
if
(
vesting_steem
)
{
vesting_hive
=
vesting_steem
vesting_hive
=
vesting_steem
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment