From f3b747cc38b1add78f3c27367ed206f309149b20 Mon Sep 17 00:00:00 2001 From: Eric Jiang Date: Tue, 26 Mar 2019 11:12:40 -0400 Subject: [PATCH] fix(): wording --- token.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token.js b/token.js index 676f8da..12bf382 100644 --- a/token.js +++ b/token.js @@ -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}.`) }