Filter treasury.UpdatedInactive events (#9159)

This commit is contained in:
Jaco 2023-03-12 19:35:15 +02:00 committed by GitHub
parent 0da88c0352
commit 2e5bd0931c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ async function manageEvents (api: ApiPromise, prev: PrevHashes, records: Vec<Eve
section !== 'system' &&
(
!['balances', 'treasury'].includes(section) ||
!['Deposit', 'Withdraw'].includes(method)
!['Deposit', 'UpdatedInactive', 'Withdraw'].includes(method)
) &&
(
!['transactionPayment'].includes(section) ||