good morning!!!!

Skip to content
Snippets Groups Projects
Commit fa93480d authored by Martin Becze's avatar Martin Becze
Browse files

added addressbook

parent e1fcffcc
Branches
Tags
No related merge requests found
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;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment