Arjan Zijderveld
2021-06-28 14:03:57 +02:00
committed by GitHub
parent c03068f0ec
commit bbb6d0eda9
2 changed files with 3 additions and 1 deletions
@@ -90,7 +90,8 @@ const phragmen = {
_enum: {
Off: null,
Signed: null,
Unsigned: '(bool, BlockNumber)'
Unsigned: '(bool, BlockNumber)',
Emergency: null
}
},
ElectionResult: {
@@ -104,6 +104,7 @@ export interface ElectionPhase extends Enum {
readonly isSigned: boolean;
readonly isUnsigned: boolean;
readonly asUnsigned: ITuple<[bool, BlockNumber]>;
readonly isEmergency: boolean;
}
/** @name ElectionResult */