From 6d3b2d434877576cae5f7a792bdaf42e19cb7362 Mon Sep 17 00:00:00 2001 From: Karim Date: Fri, 27 Oct 2023 17:32:52 +0200 Subject: [PATCH] Fixing docs for transfers (#454) --- docs/api/examples/promise/make-transfer.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api/examples/promise/make-transfer.md b/docs/api/examples/promise/make-transfer.md index 458834967e..d52c9958ec 100644 --- a/docs/api/examples/promise/make-transfer.md +++ b/docs/api/examples/promise/make-transfer.md @@ -22,7 +22,7 @@ async function main () { const alice = keyring.addFromUri('//Alice'); // Create a extrinsic, transferring 12345 units to Bob - const transfer = api.tx.balances.transfer(BOB, 12345); + const transfer = api.tx.balances.transferAllowDeath(BOB, 12345); // Sign and send the transaction using our account const hash = await transfer.signAndSend(alice);