Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

Commit

Permalink
Merge pull request #116 from 102/patch-1
Browse files Browse the repository at this point in the history
Fix typos in jsdocs
  • Loading branch information
holgerd77 authored Jul 12, 2018
2 parents 0358fad + 66cccd7 commit 32989a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class Transaction {
}

/**
* sign a transaction with a given a private key
* sign a transaction with a given private key
* @param {Buffer} privateKey
*/
sign (privateKey) {
Expand Down Expand Up @@ -274,7 +274,7 @@ class Transaction {

/**
* validates the signature and checks to see if it has enough gas
* @param {Boolean} [stringError=false] whether to return a string with a dscription of why the validation failed or return a Bloolean
* @param {Boolean} [stringError=false] whether to return a string with a description of why the validation failed or return a Boolean
* @return {Boolean|String}
*/
validate (stringError) {
Expand Down

0 comments on commit 32989a3

Please sign in to comment.