Skip to content

Commit

Permalink
fix(subaccounts): correct incorrect type on `BalanceTransferParameter…
Browse files Browse the repository at this point in the history
…s` (#937)
  • Loading branch information
froggy1014 committed Jun 11, 2024
1 parent 9737b15 commit 70f9c25
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packages/subaccounts/__tests__/__dataSets__/transfers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default [
to: balanceTransfer.to,
amount: `${balanceTransfer.amount}`,
reference: balanceTransfer.reference,
} as BalanceTransferParameters,
},
],
],
responses: [
Expand All @@ -118,7 +118,7 @@ export default [
to: balanceTransfer.to,
amount: `${balanceTransfer.amount}`,
reference: balanceTransfer.reference,
} as BalanceTransferParameters,
},
],
error: false,
expected: balanceTransfer,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type BalanceTransferParameters = {
/**
* The amount of balance to transfer.
*/
amount: string;
amount: number;

/**
* (Optional) A reference for the balance transfer.
Expand Down

0 comments on commit 70f9c25

Please sign in to comment.