From 0a6cdc39ba14ba0128a1b1adcef139546336a608 Mon Sep 17 00:00:00 2001 From: nhussein11 Date: Tue, 5 Nov 2024 08:52:42 +0100 Subject: [PATCH 1/2] fix: typo --- docs/pages/typed/tx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/typed/tx.md b/docs/pages/typed/tx.md index 6cae386c..72743422 100644 --- a/docs/pages/typed/tx.md +++ b/docs/pages/typed/tx.md @@ -29,7 +29,7 @@ would do the trick. Let's see the other one, that takes arguments: import { MultiAddress } from "@polkadot-api/descriptors" const tx: Transaction = typedApi.tx.Balances.transfer_keep_alive({ - // these args are be strongly typed! + // these args are meant to be strongly typed! dest: MultiAddress.Id("destAddressInSS58Format"), value: 10n ** 10n, // 1 DOT }) From 94d8fbb3a0d39b332e1b244fb6f36d88b3916e0f Mon Sep 17 00:00:00 2001 From: Josep M Sobrepere Date: Tue, 5 Nov 2024 09:24:42 +0100 Subject: [PATCH 2/2] Update docs/pages/typed/tx.md --- docs/pages/typed/tx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pages/typed/tx.md b/docs/pages/typed/tx.md index 72743422..1dbe9917 100644 --- a/docs/pages/typed/tx.md +++ b/docs/pages/typed/tx.md @@ -29,7 +29,7 @@ would do the trick. Let's see the other one, that takes arguments: import { MultiAddress } from "@polkadot-api/descriptors" const tx: Transaction = typedApi.tx.Balances.transfer_keep_alive({ - // these args are meant to be strongly typed! + // these args are strongly typed! dest: MultiAddress.Id("destAddressInSS58Format"), value: 10n ** 10n, // 1 DOT })