Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
fix(HDAccount): set address_labels to empty array by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Sjors committed Mar 29, 2017
1 parent c99bedb commit 79b31c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hd-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 79b31c4

Please sign in to comment.