Skip to content

Commit d4495c7

Browse files
committed
Handle condition without wallet maps
1 parent 90febfe commit d4495c7

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

meta/balances.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ tmp.accountCollection = function(index) {
1313
);
1414
},
1515
type: function() {
16-
return(wallets.byAddress(this.address)[0].type);
16+
var address = wallets.byAddress(this.address)[0]
17+
18+
return(
19+
address ? address.type : ' '
20+
);
1721
},
1822
shortAddress: function() {
1923
return(

0 commit comments

Comments
 (0)