cyberway / golos.contracts

Smart contract for Golos dApp
http://golos.io
MIT License
5 stars 3 forks source link

Superfluous rewriting of vector with beneficiaries #872

Open afalaleev opened 5 years ago

afalaleev commented 5 years ago

Description https://github.com/cyberway/golos.contracts/blob/22523f11b06d93ae4e38b41ae0e26533067edc11/golos.publication/golos.publication.cpp#L207

List of beneficiaries is already checked on duplicates: https://github.com/cyberway/golos.contracts/blob/22523f11b06d93ae4e38b41ae0e26533067edc11/golos.publication/golos.publication.cpp#L188

Solution Remove creation of additional vector