Skip to content

Commit

Permalink
fix: fix args order in localAccount.transfer
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed Jan 6, 2025
1 parent 8a5a3f4 commit 33c3e29
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions contract/src/orca.flows.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,10 @@ export const makeCreateAndFund = async (
await localTransfer(seat, localAccount, give);
trace('after transfer');

await localAccount.transfer(
{
denom: 'ubld',
value: amt.value / 2n,
},
remoteAddress,
);
await localAccount.transfer(remoteAddress, {
denom: 'ubld',
value: amt.value / 2n,
});
seat.exit();
const remoteChainBalance = await remoteAccount.getBalance('uosmo');
console.log('remoteChainBalance', remoteChainBalance);
Expand Down

0 comments on commit 33c3e29

Please sign in to comment.