Skip to content

Commit

Permalink
set transaction value to 0 when overriding for SCW init
Browse files Browse the repository at this point in the history
  • Loading branch information
coffeexcoin committed Sep 18, 2024
1 parent 8ae3082 commit 0275e15
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/agw-sdk/src/actions/sendTransaction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ export async function sendTransaction<
// Override transaction fields
parameters.to = SMART_ACCOUNT_FACTORY_ADDRESS;
parameters.data = deploymentCalldata;
parameters.value = 0n;
}

return sendTransactionInternal(
Expand Down

0 comments on commit 0275e15

Please sign in to comment.