diff --git a/src/hd-account.js b/src/hd-account.js index 734130838..7a2119dd4 100644 --- a/src/hd-account.js +++ b/src/hd-account.js @@ -21,7 +21,7 @@ function HDAccount (object) { this._xpub = obj.xpub; this._network = obj.network || Bitcoin.networks.bitcoin; - this._address_labels = obj.address_labels; + this._address_labels = obj.address_labels || []; // computed properties this._keyRing = new KeyRing(obj.xpub, obj.cache);