Referenda submit fix (Lookup only, split from cleanups) (#8306)

This commit is contained in:
Jaco 2022-11-03 17:49:12 +02:00 committed by GitHub
parent 66f778e3fb
commit 713e0fd7b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -233,7 +233,7 @@ function Submit ({ className = '', isMember, members, palletReferenda, tracks }:
isDisabled={!(originParam || origin) || !atAfter || !isHashValid || !accountId || isInvalidAt}
label={t<string>('Submit proposal')}
onStart={toggleSubmit}
params={[originParam || origin, hash, atAfter]}
params={[originParam || origin, { Lookup: hash }, atAfter]}
tx={api.tx[palletReferenda as 'referenda'].submit}
/>
</Modal.Actions>