Browse Source

Prettier and clean

master
meriadec 7 years ago
parent
commit
861178d52a
No known key found for this signature in database GPG Key ID: 1D2FC2305E2CB399
  1. 3
      src/helpers/getAddressForCurrency/index.js
  2. 1
      src/internals/index.js

3
src/helpers/getAddressForCurrency/index.js

@ -26,6 +26,7 @@ const all = {
ethereum_classic_testnet: ethereum,
}
const getAddressForCurrency: Module = (currencyId: string) => all[currencyId] || fallback(currencyId)
const getAddressForCurrency: Module = (currencyId: string) =>
all[currencyId] || fallback(currencyId)
export default getAddressForCurrency

1
src/internals/index.js

@ -24,7 +24,6 @@ if (handlers.default) {
}
process.on('message', payload => {
console.log(payload)
if (payload.data && payload.data.requestId) {
const { data, requestId, id } = payload.data
// this is the new type of "command" payload!

Loading…
Cancel
Save