Add a governor module to protect against late quorum (#2973)
Co-authored-by: Francisco Giordano <frangio.1@gmail.com>
This commit is contained in:
@ -65,7 +65,7 @@ function runGovernorWorkflow () {
|
||||
// vote
|
||||
if (tryGet(this.settings, 'voters')) {
|
||||
this.receipts.castVote = [];
|
||||
for (const voter of this.settings.voters) {
|
||||
for (const voter of this.settings.voters.filter(({ support }) => !!support)) {
|
||||
if (!voter.signature) {
|
||||
this.receipts.castVote.push(
|
||||
await getReceiptOrRevert(
|
||||
|
||||
Reference in New Issue
Block a user