fix: signAndSend and new Keyring (#1000)
* fix: signAndSend and new Keyring * Fix identation
This commit is contained in:
committed by
Jaco Greeff
parent
b26a8e284b
commit
4a22a43d37
@@ -179,7 +179,7 @@ export default function createSubmittableExtrinsic<CodecResult, SubscriptionResu
|
||||
}
|
||||
|
||||
const isSubscription = _noStatusCb || !!statusCb;
|
||||
const isKeyringPair = isFunction((account as IKeyringPair).address) && isFunction((account as IKeyringPair).sign);
|
||||
const isKeyringPair = isFunction((account as IKeyringPair).sign);
|
||||
const address = isKeyringPair ? (account as IKeyringPair).address : account.toString();
|
||||
let updateId: number | undefined;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user