diff --git a/packages/rpc-provider/src/ws/index.ts b/packages/rpc-provider/src/ws/index.ts index 70a4cd8e20..21b982dda2 100644 --- a/packages/rpc-provider/src/ws/index.ts +++ b/packages/rpc-provider/src/ws/index.ts @@ -331,9 +331,10 @@ export default class WsProvider implements WSProviderInterface { Object.keys(subscriptions).forEach(async (id) => { const { callback, method, params, type } = subscriptions[id]; - // only re-create methods with '
_subscribe`, i.e. submissions such - // as 'author_submitAndWatchExtrinsic' are not included - if (method.indexOf('_subscribe') === -1) { + // only re-create subscriptions which are not in author (only area where + // transactions are created, i.e. submissions such as 'author_submitAndWatchExtrinsic' + // are not included (and will not be re-broadcast) + if (type.startsWith('author_')) { return; }