diff --git a/docs/examples/promise/06_make_transfer/index.js b/docs/examples/promise/06_make_transfer/index.js index 4a5d8dc1c0..150ab30aa1 100755 --- a/docs/examples/promise/06_make_transfer/index.js +++ b/docs/examples/promise/06_make_transfer/index.js @@ -3,6 +3,8 @@ const { ApiPromise } = require('@polkadot/api'); const { Keyring } = require('@polkadot/keyring'); const { stringToU8a } = require('@polkadot/util'); +// Important to note that we pad the seed to a length of 32 bytes using ' ' +// The underlying seed needs to be exactly 32 bytes in length const ALICE_SEED = 'Alice'.padEnd(32, ' '); const BOB_ADDR = '5Gw3s7q4QLkSWwknsiPtjujPv3XM4Trxi5d4PgKMMk3gfGTE';