Skip to content

Commit 1570fb0

Browse files
committed
lint
1 parent e1fe0ff commit 1570fb0

File tree

1 file changed

+5
-3
lines changed
  • packages/bitcore-node/src/modules/ethereum/api

1 file changed

+5
-3
lines changed

packages/bitcore-node/src/modules/ethereum/api/csp.ts

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -237,10 +237,12 @@ export class ETHStateProvider extends InternalStateProvider implements IChainSta
237237
const { req, res, args, chain, network, address } = params;
238238
const { limit, since, tokenAddress } = args;
239239
if (!args.tokenAddress) {
240-
const query = { $or: [
240+
const query = {
241+
$or: [
241242
{ chain, network, from: address },
242-
{ chain, network, to: address },
243-
]};
243+
{ chain, network, to: address }
244+
]
245+
};
244246
Storage.apiStreamingFind(EthTransactionStorage, query, { limit, since, paging: '_id' }, req!, res!);
245247
} else {
246248
try {

0 commit comments

Comments
 (0)