go-ethereum/cmd/mist/assets/ext/ethereum.js/lib/local.js
obscuren 73dcbf7ba2 Add 'cmd/mist/assets/ext/ethereum.js/' from commit '63d9c070ef7637a3d570a5a45ea931c1680ebc02'
git-subtree-dir: cmd/mist/assets/ext/ethereum.js
git-subtree-mainline: f80fe9776335312615ce3b1a565e4f48e171ab0d
git-subtree-split: 63d9c070ef7637a3d570a5a45ea931c1680ebc02
2015-01-28 23:33:24 +01:00

19 lines
383 B
JavaScript

var addressName = {"0x12378912345789": "Gav", "0x57835893478594739854": "Jeff"};
var nameAddress = {};
for (var prop in addressName) {
if (addressName.hasOwnProperty(prop)) {
nameAddress[addressName[prop]] = prop;
}
}
var local = {
addressBook:{
byName: addressName,
byAddress: nameAddress
}
};
if (typeof(module) !== "undefined")
module.exports = local;