Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Fixes to system contract delegatebw action #4295

Merged
merged 3 commits into from
Jun 25, 2018
Merged

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Jun 23, 2018

Resolves #4273.

Changes to system contract in this PR:

  • transfer no longer allowed to be true if delegating to self.
  • delegating to another account with or without transfer will always pull tokens from the source's liquid balance (fixes bug that forces receiver to restake from their unstaking balance)

@arhag arhag added this to the Version 1.0.7 milestone Jun 23, 2018
@arhag arhag merged commit d7a6fd1 into master Jun 25, 2018
@arhag arhag deleted the 4273-delegatebw-fix branch June 25, 2018 18:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

EOS 抵押 漏洞
2 participants