Skip to content

Commit

Permalink
Fix make transfer example (#10094)
Browse files Browse the repository at this point in the history
  • Loading branch information
ugur-eren authored Dec 18, 2023
1 parent 966f214 commit 3b69829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/page-js/src/snippets/extrinsics-examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const randomAmount = Math.floor((Math.random() * 100000) + 1);
const transfer = api.tx.balances.transferAllowDeath(BOB, randomAmount);
// Sign and Send the transaction
await transferAllowDeath.signAndSend(ALICE, ({ events = [], status }) => {
await transfer.signAndSend(ALICE, ({ events = [], status }) => {
if (status.isInBlock) {
console.log('Successful transfer of ' + randomAmount + ' with hash ' + status.asInBlock.toHex());
} else {
Expand Down

0 comments on commit 3b69829

Please sign in to comment.