From 4c6b9ac5e49cab3aae9c6a0be6747588425fa7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Sun, 26 Apr 2020 11:14:56 +0100 Subject: [PATCH] Use object shorthand for properties --- lib/coins/bch.js | 6 +++--- lib/coins/blk.js | 2 +- lib/coins/btc.js | 8 ++++---- lib/coins/btg.js | 4 ++-- lib/coins/dash.js | 4 ++-- lib/coins/dcr.js | 4 ++-- lib/coins/dgb.js | 2 +- lib/coins/doge.js | 4 ++-- lib/coins/grs.js | 6 +++--- lib/coins/ltc.js | 4 ++-- lib/coins/mona.js | 4 ++-- lib/coins/nbt.js | 2 +- lib/coins/nmc.js | 2 +- lib/coins/ppc.js | 4 ++-- lib/coins/qtum.js | 2 +- lib/coins/rdd.js | 4 ++-- lib/coins/rvn.js | 4 ++-- lib/coins/via.js | 4 ++-- lib/coins/vtc.js | 6 +++--- lib/coins/zec.js | 4 ++-- 20 files changed, 40 insertions(+), 40 deletions(-) diff --git a/lib/coins/bch.js b/lib/coins/bch.js index 33747d3..24c051c 100644 --- a/lib/coins/bch.js +++ b/lib/coins/bch.js @@ -87,7 +87,7 @@ var regtest = Object.assign({}, { }, common) module.exports = { - main: main, - test: test, - regtest: regtest + main, + test, + regtest } diff --git a/lib/coins/blk.js b/lib/coins/blk.js index 2f5c909..dca1c36 100644 --- a/lib/coins/blk.js +++ b/lib/coins/blk.js @@ -36,6 +36,6 @@ var main = Object.assign({}, { }, common) module.exports = { - main: main, + main, test: null } diff --git a/lib/coins/btc.js b/lib/coins/btc.js index 7e456e2..8dc3385 100644 --- a/lib/coins/btc.js +++ b/lib/coins/btc.js @@ -113,8 +113,8 @@ var simnet = Object.assign({}, { }, common) module.exports = { - main: main, - test: test, - regtest: regtest, - simnet: simnet + main, + test, + regtest, + simnet } diff --git a/lib/coins/btg.js b/lib/coins/btg.js index 9d31228..77bbb9f 100644 --- a/lib/coins/btg.js +++ b/lib/coins/btg.js @@ -62,6 +62,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/dash.js b/lib/coins/dash.js index f022761..8d8ca84 100644 --- a/lib/coins/dash.js +++ b/lib/coins/dash.js @@ -63,6 +63,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/dcr.js b/lib/coins/dcr.js index 1fe10e6..6bb61df 100644 --- a/lib/coins/dcr.js +++ b/lib/coins/dcr.js @@ -56,6 +56,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/dgb.js b/lib/coins/dgb.js index ad5260d..b22e4c4 100644 --- a/lib/coins/dgb.js +++ b/lib/coins/dgb.js @@ -35,4 +35,4 @@ var main = Object.assign({}, { } }, common) -module.exports = { main: main } +module.exports = { main } diff --git a/lib/coins/doge.js b/lib/coins/doge.js index 2a2177f..158503f 100644 --- a/lib/coins/doge.js +++ b/lib/coins/doge.js @@ -40,6 +40,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/grs.js b/lib/coins/grs.js index af7daa5..4f245ce 100644 --- a/lib/coins/grs.js +++ b/lib/coins/grs.js @@ -86,7 +86,7 @@ var regtest = Object.assign({}, { }, common) module.exports = { - main: main, - test: test, - regtest: regtest + main, + test, + regtest } diff --git a/lib/coins/ltc.js b/lib/coins/ltc.js index c743e78..5f9da97 100644 --- a/lib/coins/ltc.js +++ b/lib/coins/ltc.js @@ -49,6 +49,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/mona.js b/lib/coins/mona.js index f9fd880..59f540b 100644 --- a/lib/coins/mona.js +++ b/lib/coins/mona.js @@ -55,6 +55,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/nbt.js b/lib/coins/nbt.js index 185e92f..f3f33cb 100644 --- a/lib/coins/nbt.js +++ b/lib/coins/nbt.js @@ -30,5 +30,5 @@ var main = Object.assign({}, { }, common) module.exports = { - main: main + main } diff --git a/lib/coins/nmc.js b/lib/coins/nmc.js index 24aec77..652fa3c 100644 --- a/lib/coins/nmc.js +++ b/lib/coins/nmc.js @@ -14,6 +14,6 @@ var main = Object.assign({}, { }, common) module.exports = { - main: main, + main, test: null } diff --git a/lib/coins/ppc.js b/lib/coins/ppc.js index 65e7cc1..1d6bee6 100644 --- a/lib/coins/ppc.js +++ b/lib/coins/ppc.js @@ -64,6 +64,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/qtum.js b/lib/coins/qtum.js index b625e1a..e33cc0d 100644 --- a/lib/coins/qtum.js +++ b/lib/coins/qtum.js @@ -35,5 +35,5 @@ var main = Object.assign({}, { }, common) module.exports = { - main: main + main } diff --git a/lib/coins/rdd.js b/lib/coins/rdd.js index f64ae4d..179b65d 100644 --- a/lib/coins/rdd.js +++ b/lib/coins/rdd.js @@ -24,6 +24,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/rvn.js b/lib/coins/rvn.js index 61beed1..0c783fa 100644 --- a/lib/coins/rvn.js +++ b/lib/coins/rvn.js @@ -54,6 +54,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/via.js b/lib/coins/via.js index 52be791..4381d52 100644 --- a/lib/coins/via.js +++ b/lib/coins/via.js @@ -51,6 +51,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test } diff --git a/lib/coins/vtc.js b/lib/coins/vtc.js index 21b4dd3..d3593bb 100644 --- a/lib/coins/vtc.js +++ b/lib/coins/vtc.js @@ -85,7 +85,7 @@ var regtest = Object.assign({}, { }, common) module.exports = { - main: main, - test: test, - regtest: regtest + main, + test, + regtest } diff --git a/lib/coins/zec.js b/lib/coins/zec.js index d10c9fd..62f9d87 100644 --- a/lib/coins/zec.js +++ b/lib/coins/zec.js @@ -60,6 +60,6 @@ var test = Object.assign({}, { }, common) module.exports = { - main: main, - test: test + main, + test }