diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-26 23:43:21 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-26 23:43:21 +0800 |
commit | a7f4448f345b9c1df372b7da7dfe37a837bd877c (patch) | |
tree | 70530692f59ce0c36112b25c6a64d0bb6cebf5ab | |
parent | 7807a4f738ac6d8d7a1f15decb5320502a19a48c (diff) | |
parent | fa93480d9aadf16698dd3a4439e1870dcb61b5cc (diff) | |
download | dexon-a7f4448f345b9c1df372b7da7dfe37a837bd877c.tar.gz dexon-a7f4448f345b9c1df372b7da7dfe37a837bd877c.tar.zst dexon-a7f4448f345b9c1df372b7da7dfe37a837bd877c.zip |
Merge branch 'develop' into sync
-rw-r--r-- | lib/local.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/local.js b/lib/local.js new file mode 100644 index 000000000..30cd14df2 --- /dev/null +++ b/lib/local.js @@ -0,0 +1,18 @@ +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; |