Adjust nobody zero-key pair with pre-computed address (#1601)

This commit is contained in:
Jaco
2022-07-18 12:27:56 +03:00
committed by GitHub
parent cd246e2381
commit 8461d105d6
2 changed files with 5 additions and 3 deletions
+1
View File
@@ -6,6 +6,7 @@ Changes:
- Add `arrayUnzip` as reverse of `arrayZip`
- Adjust `isAscii` check to disallow `\t`, `\n`, & `\r` characters
- Adjust `nobody` zero-key pair with pre-computed address
## 10.0.2 Jul 10, 2022
+4 -3
View File
@@ -3,10 +3,11 @@
import type { KeyringPair, KeyringPair$Json, KeyringPair$Meta } from '../types';
import { encodeAddress } from '@polkadot/util-crypto';
// empty publicKey
const publicKey = new Uint8Array(32);
const address = encodeAddress(publicKey);
// encodeAddress(publicKey)
const address = '5C4hrfjw9DjXZTzV3MwzrrAr9P1MJhSrvWGWqi1eSuyUpnhM';
const meta = {
isTesting: true,