Skip to content

Commit

Permalink
Merge PR #916 from 'nodech/wallet-http-fixes-clean'
Browse files Browse the repository at this point in the history
  • Loading branch information
nodech committed Jan 15, 2025
2 parents 11bd81f + e0b0657 commit 343525a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/wallet/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ class HTTP extends Server {
const valid = Validator.fromRequest(req);
const acct = valid.str('account');
const reverse = valid.bool('reverse', false);
const limit = valid.u32('limit', 10);
const limit = valid.u32('limit', this.maxTXs);
const after = valid.bhash('after');
const time = valid.u32('time');

Expand Down Expand Up @@ -1854,6 +1854,7 @@ class TransactionOptions {
this.paths = valid.bool('paths');
this.passphrase = valid.str('passphrase');
this.hardFee = valid.u64('hardFee'),
this.blocks = valid.u32('blocks');
this.outputs = [];

if (valid.has('outputs')) {
Expand Down

0 comments on commit 343525a

Please sign in to comment.