Allow zero values for rewards (#1913)

This commit is contained in:
Jaco Greeff 2019-11-19 16:18:22 +01:00 committed by GitHub
parent 04f1fca5c9
commit d64f682fee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,6 +165,7 @@ class Validate extends TxComponent<Props, State> {
className='medium'
defaultValue={validatorPrefs?.validatorPayment?.toBn()}
help={t('Amount taken up-front from the reward by the validator before splitting the remainder between themselves and the nominators')}
isZeroable
label={t('reward commission')}
onChange={this.onChangePayment}
onEnter={this.sendTx}