Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
fix(unmarshal): provide only one arg to callback (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
aknuds1 authored and jacobheun committed Jul 10, 2019
1 parent 3f131d4 commit 3bb8451
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ module.exports = (keysProtobuf, randomBytes, crypto) => {
}

function unmarshalSecp256k1PrivateKey (bytes, callback) {
callback(null, new Secp256k1PrivateKey(bytes), null)
callback(null, new Secp256k1PrivateKey(bytes))
}

function unmarshalSecp256k1PublicKey (bytes) {
Expand Down

0 comments on commit 3bb8451

Please sign in to comment.