This commit is contained in:
Michael Zhu
2019-10-16 20:19:04 -07:00
parent cde0169733
commit ffac52f42e

View File

@@ -58,11 +58,14 @@ export class BalanceStore {
this._addressNames = _.cloneDeep(balanceStore._addressNames);
}
/**
* Returns the human-readable name for the given address, if it exists.
* @param address The address to get the name for.
*/
private _readableAddressName(address: string): string {
return this._addressNames[address] || address;
}
/**
* Throws iff balance stores do not have the same ETH balances.
* @param rhs Balance store to compare to
@@ -77,7 +80,6 @@ export class BalanceStore {
}
}
/**
* Throws iff balance stores do not have the same ERC20 balances.
* @param rhs Balance store to compare to