Skip to content

Commit

Permalink
fixup! removed some boost::accumulate from shared_model
Browse files Browse the repository at this point in the history
Signed-off-by: Mikhail Boldyrev <miboldyrev@gmail.com>
  • Loading branch information
MBoldyrev authored and lebdron committed Oct 25, 2019
1 parent 69840ee commit 8c7d709
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ namespace shared_model {
keys_{boost::copy_range<interface::types::PublicKeyCollectionType>(
signatories_response_.keys()
| boost::adaptors::transformed([](const auto &key) {
return crypto::PublicKey::fromHexString(key);
return crypto::PublicKey{
crypto::PublicKey::fromHexString(key)};
}))} {}

const interface::types::PublicKeyCollectionType &SignatoriesResponse::keys()
Expand Down

0 comments on commit 8c7d709

Please sign in to comment.