ValidatorPref threshold -> Compact<u32> (#613)

This commit is contained in:
Jaco Greeff
2019-01-21 13:38:26 +01:00
committed by GitHub
parent 3f53050ab1
commit a1c64be28c
+1 -1
View File
@@ -22,7 +22,7 @@ type ValidatorPrefsValue = {
export default class ValidatorPrefs extends Struct {
constructor (value?: ValidatorPrefsValue | Uint8Array) {
super({
unstakeThreshold: U32,
unstakeThreshold: Compact.with(U32),
validatorPayment: Compact.with(Balance)
}, value);
}