Skip to content

Commit

Permalink
fix(): wording
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Jiang committed Mar 26, 2019
1 parent 4c0feb4 commit f3b747c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion token.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ async function transfer(opts = {}) {
} else if (!opts.val || 0 >= Number(opts.val)) {
throw new TypeError(`Expected 'opts.val' to be greater than 0. Got ${opts.val}. Ensure ${opts.val} is a positive number.`)
} else if (!opts.did || 'string' !== typeof opts.did) {
throw new TypeError(`Expected 'opts.did' to be non-empty Ara DID string. Got ${opts.did}. Ensure ${opts.did} is a valid Ara identity or Ethereum address.`)
throw new TypeError(`Expected 'opts.did' to be non-empty Ara DID string. Got ${opts.did}. Ensure ${opts.did} is a valid Ara identity.`)
} else if (!opts.password || 'string' !== typeof opts.password) {
throw new TypeError(`Expected 'opts.password' to be a non-empty string. Got ${opts.password}.`)
}
Expand Down

0 comments on commit f3b747c

Please sign in to comment.