aboutsummaryrefslogtreecommitdiffstats
path: root/lib/utils.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-01-17 12:30:41 -0800
committerAdam Soltys <[email protected]>2023-01-17 12:30:41 -0800
commite6cd93b51798992a01f4bfee61d24384d2fa4089 (patch)
tree5ae8e54860901088e6cf24cef7b7f74c38bdeeef /lib/utils.js
parent5ae4209579287c571559edcf00dce24754553aaf (diff)
downloadcoinos-server-e6cd93b51798992a01f4bfee61d24384d2fa4089.tar.gz
coinos-server-e6cd93b51798992a01f4bfee61d24384d2fa4089.zip
prettier
Diffstat (limited to 'lib/utils.js')
-rw-r--r--lib/utils.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/utils.js b/lib/utils.js
index 8d2648f2..92b34be5 100644
--- a/lib/utils.js
+++ b/lib/utils.js
@@ -26,4 +26,5 @@ export const SATS = 100000000;
export const toSats = n => Math.round(n * SATS);
export const uniq = (a, k) => [...new Map(a.map(x => [k(x), x])).values()];
-export const pick = (O, K) => K.reduce((o, k) => (typeof O[k] !== 'undefined' && (o[k] = O[k]), o), {});
+export const pick = (O, K) =>
+ K.reduce((o, k) => (typeof O[k] !== "undefined" && (o[k] = O[k]), o), {});