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

system contract cleanup: remove special cases of eosio delegate/buy #3430

Closed
moskvanaft opened this issue May 25, 2018 · 0 comments
Closed
Assignees
Milestone

Comments

@moskvanaft
Copy link
Contributor

Previously we always transfered tokens paid for bandwidth and ram to eosio account. And because of that we had special handling for cases when eosio is paying for ram and bandwidth (in order not to transfer to itself). It was somewhat tricky because eosio didn't pay anything, and could even stake for bandwidth more than total token supply. Although it's unlikely to affect anything except our unit-tests.

Now we transfer money to separate accounts. So, there is no reason to keep special handling for eosio. So, I am removing those checks. In order to simplify the code.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants