Skip to content

Commit

Permalink
[CLI] ledger-verify, add support for node 4.2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Fi3 committed Dec 13, 2017
1 parent 68cd1c3 commit c49d8e4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -32,7 +32,7 @@ The functions exposed are:

## Use from command line

First clone the repository, install the deps `yarn install` and build the project `yarn build`. The target is ECMA 2015 but if you want to use yarn you should have at least node 6.0.0
First clone the repository, install the deps `yarn install` and build the project `yarn build`. The target is ECMA 2015 but if you want to use yarn you should have at least node 4.2.6

When you use the `proof-verification-tool` from the command line you can just check if the proof is valid or also extract the message contained in the proof:

Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -21,6 +21,7 @@
"jsrsasign": "^6.2.1",
"log-update": "^2.3.0",
"ramda": "^0.25.0",
"safe-buffer": "^5.1.1",
"sha256": "^0.2.0",
"sync-request": "^3.0.1",
"urlsafe-base64": "^1.0.0",
Expand Down
2 changes: 1 addition & 1 deletion src/ledger-verify.js
@@ -1,7 +1,7 @@
// @flow
const r = require('jsrsasign');
// $FlowFixMe
const Buffer = require('buffer').Buffer;
const Buffer = require('safe-buffer').Buffer;

/* Proof Serialization
*
Expand Down

0 comments on commit c49d8e4

Please sign in to comment.