isHardware: false on create

This commit is contained in:
Jaco Greeff 2021-01-30 21:07:49 +01:00
parent cffbf71956
commit 6dbf216d6b
No known key found for this signature in database
GPG Key ID: 270FB2D05A05357C

View File

@ -162,7 +162,7 @@ function createAccount (suri: string, pairType: KeypairType, { genesisHash, name
const status = { action: 'create' } as ActionStatus;
try {
const result = keyring.addUri(suri, password, { genesisHash, name, tags }, pairType);
const result = keyring.addUri(suri, password, { genesisHash, isHardware: false, name, tags }, pairType);
const { address } = result.pair;
status.account = address;