Skip to content

Commit

Permalink
fix: queryInfo call in fee-estimate endpoint (#1505)
Browse files Browse the repository at this point in the history
  • Loading branch information
Imod7 authored Oct 8, 2024
1 parent 28e039e commit 68be48b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/transaction/TransactionFeeEstimateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class TransactionFeeEstimateService extends AbstractService {
const ext = api.registry.createType('Extrinsic', transaction);
const u8a = ext.toU8a();

return await apiAt.call.transactionPaymentApi.queryInfo(ext, u8a.length);
return await apiAt.call.transactionPaymentApi.queryInfo(u8a, u8a.length);
} else {
return await api.rpc.payment.queryInfo(transaction, hash);
}
Expand Down

0 comments on commit 68be48b

Please sign in to comment.