Skip to content

Commit

Permalink
Fix wallet funding flow (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
broody authored Sep 10, 2024
1 parent 068a5d5 commit a9758dd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions packages/keychain/src/components/ConfirmTransaction.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ export function ConfirmTransaction() {
<Funding
onComplete={() => {
setCTAState("execute");
setCtrlError(undefined);
setLoading(false);
estimateFees();
}}
defaultAmount={feeEstimate}
/>
Expand Down
2 changes: 1 addition & 1 deletion packages/keychain/src/components/Funding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function FundingInner({ onComplete, title, defaultAmount }: FundingInnerProps) {
contractAddress: ETH_CONTRACT_ADDRESS,
entrypoint: "transfer",
calldata: CallData.compile({
sender: controller.account.address,
recipient: controller.account.address,
amount: cairo.uint256(parseEther(amount)),
}),
},
Expand Down

0 comments on commit a9758dd

Please sign in to comment.