Skip to content

Commit

Permalink
use withdrawToBaseLayer method for transfering
Browse files Browse the repository at this point in the history
  • Loading branch information
mvares committed Jul 7, 2024
1 parent e993e90 commit 3200928
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ describe('querying the chain', () => {

const recipientAddress = recipient.address.toB256();

const tx = await sender.transfer(recipientAddress, 100, provider.getBaseAssetId());
const tx = await sender.withdrawToBaseLayer(recipientAddress, 100);
const result = await tx.waitForResult();
const messageOutReceipt = result.receipts[0] as TransactionResultMessageOutReceipt;

Expand Down

0 comments on commit 3200928

Please sign in to comment.