Adjust preimage detection (#8460)

This commit is contained in:
Jaco 2022-12-01 17:08:51 +02:00 committed by GitHub
parent f97cc1670c
commit 549befe5e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,10 +12,7 @@ export default function create (t: TFunction): Route {
display: {
needsAccounts: true,
needsApi: [
'tx.preimage.notePreimage',
// only enable when we have referenda (or ranked would be applicable as
// well, we basically want to disable on all Gov1 chains)
'tx.referenda.submit'
'tx.preimage.notePreimage'
]
},
group: 'governance',