Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
bugfix: revert to just passing insightAPI object when contructing com…
Browse files Browse the repository at this point in the history
…mand (#163)

* revert to just passing insightAPI object

* update dashcore-lib dep

* update package lock

* bump version

* update package lock

* adapt travis.yml
  • Loading branch information
Cofresi authored Mar 26, 2019
1 parent d4b14ea commit 302e7e9
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 48 deletions.
11 changes: 0 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,7 @@ branches:
node_js:
- '8'
install:
- pip install awscli --upgrade --user
- cd ..
- git clone --depth=50 [email protected]:dashevo/mn-bootstrap.git mn-bootstrap
- cd mn-bootstrap
- . ./.env
- $(~/.local/bin/aws ecr get-login --no-include-email)
- cd ../dapi
- npm install
before_install:
- echo "//registry.npmjs.org/:_authToken=\${NPM_TOKEN}" > .npmrc
- sudo apt-get update -qq
- sudo apt-get install -qq libzmq3-dev
before_script:
- npm run lint
deploy:
Expand Down
2 changes: 1 addition & 1 deletion lib/rpcServer/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getQuorum = require('./commands/getQuorum');

const createCommands = (insightAPI, dashcoreAPI, dashDriveAPI, userIndex) => ({
estimateFee: estimateFee(insightAPI),
getAddressSummary: getAddressSummary(insightAPI({ maxTransactionHistory: 1000 })),
getAddressSummary: getAddressSummary(insightAPI),
getAddressTotalReceived: getAddressTotalReceived(insightAPI),
getAddressTotalSent: getAddressTotalSent(insightAPI),
getAddressUnconfirmedBalance: getAddressUnconfirmedBalance(insightAPI),
Expand Down
58 changes: 24 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashevo/dapi",
"version": "0.3.2",
"version": "0.3.3",
"description": "A Decentralized API for Dash Masternodes",
"scripts": {
"start": "node lib/app.js",
Expand All @@ -23,7 +23,7 @@
"all": true
},
"dependencies": {
"@dashevo/dashcore-lib": "0.17.0",
"@dashevo/dashcore-lib": "0.17.1",
"@dashevo/dashcore-p2p": "^1.1.9",
"@dashevo/dashd-rpc": "^1.3.0",
"ajv": "^6.4.0",
Expand Down

0 comments on commit 302e7e9

Please sign in to comment.