Skip to content

Commit

Permalink
lint(fix): e2e-tools.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mujahidkay committed Sep 25, 2024
1 parent 86c6e53 commit 336ed78
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions contract/tools/e2e-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,7 @@ export const provisionSmartWallet = async (

/** @param {import('@agoric/smart-wallet/src/smartWallet.js').BridgeAction} bridgeAction */
const sendAction = async bridgeAction => {
const capData = q.toCapData(harden(bridgeAction));
const offerBody = JSON.stringify(capData);
const offerBody = JSON.stringify(harden(bridgeAction));
const txInfo = await agd.tx(
['swingset', 'wallet-action', offerBody, '--allow-spend'],
{ from: address, chainId, yes: true },
Expand Down

0 comments on commit 336ed78

Please sign in to comment.