diff --git a/packages/neuron-wallet/src/controllers/transactions.ts b/packages/neuron-wallet/src/controllers/transactions.ts index d4242b4d92..9589fc6074 100644 --- a/packages/neuron-wallet/src/controllers/transactions.ts +++ b/packages/neuron-wallet/src/controllers/transactions.ts @@ -35,7 +35,7 @@ export default class TransactionsController { public static async getAllByKeywords( params: Controller.Params.TransactionsByKeywords ): Promise & Controller.Params.TransactionsByKeywords>> { - const { pageNo, pageSize, keywords = '', walletID = '' } = params + const { pageNo = 1, pageSize = 15, keywords = '', walletID = '' } = params const addresses = (await AddressesService.allAddressesByWalletId(walletID)).map(addr => addr.address)