diff --git a/lib/http/client.js b/lib/http/client.js index 43973ec3..b9e1ac2a 100644 --- a/lib/http/client.js +++ b/lib/http/client.js @@ -6,6 +6,7 @@ */ 'use strict'; + const assert = require('assert'); const Network = require('../protocol/network'); const AsyncObject = require('../utils/asyncobject'); @@ -493,7 +494,7 @@ HTTPClient.prototype.getWallets = function getWallets() { */ HTTPClient.prototype.createWallet = function createWallet(options) { - assert(options.id, 'Must pass an id parameter') + assert(options.id, 'Must pass an id parameter'); return this._put(`/wallet/${options.id}`, options); };