Skip to content

Allow commitee to send high priority transactions#1816

Merged
erikzhang merged 2 commits intomasterfrom
high-priority
Aug 4, 2020
Merged

Allow commitee to send high priority transactions#1816
erikzhang merged 2 commits intomasterfrom
high-priority

Conversation

@erikzhang
Copy link
Member

No description provided.

public override bool Verify(StoreView snapshot, Transaction tx)
{
UInt160 commitee = NativeContract.NEO.GetCommitteeAddress(snapshot);
return tx.Signers.Any(p => p.Account.Equals(commitee));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In fact, this is really important.

@erikzhang erikzhang merged commit 9b94f80 into master Aug 4, 2020
@erikzhang erikzhang deleted the high-priority branch August 4, 2020 07:07

public override bool Verify(StoreView snapshot, Transaction tx)
{
UInt160 commitee = NativeContract.NEO.GetCommitteeAddress(snapshot);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

committee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants