http: fix addr array.
This commit is contained in:
parent
4e4dbfba49
commit
d2e9843757
@ -405,6 +405,7 @@ HTTPServer.prototype._init = function _init() {
|
|||||||
address = params.address[i];
|
address = params.address[i];
|
||||||
enforce(typeof address === 'string', 'Address must be a string.');
|
enforce(typeof address === 'string', 'Address must be a string.');
|
||||||
address = Address.fromBase58(address);
|
address = Address.fromBase58(address);
|
||||||
|
options.address.push(address);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
enforce(typeof params.address === 'string',
|
enforce(typeof params.address === 'string',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user