Skip to content

Fix JSON struct tags and update transaction handling - #2367

Open
Julik000 wants to merge 1 commit into
PlatONnetwork:developfrom
Julik000:Julik000-patch-1
Open

Fix JSON struct tags and update transaction handling#2367
Julik000 wants to merge 1 commit into
PlatONnetwork:developfrom
Julik000:Julik000-patch-1

Conversation

@Julik000

Copy link
Copy Markdown

This PR fixes two issues in the validator_inner_contract.go:

  1. Typo in JSON tag: CurrentValidatros -> CurrentValidators.
    1. Missing length check for source in execute function, which could lead to a panic on short calldata.
      These fixes are submitted as part of the Bug Bounty program.

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.

1 participant