Skip to content

Commit

Permalink
[FOLD] Address review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
scottschurr committed Jul 7, 2021
1 parent ddeaaac commit e0f8a93
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ripple/app/misc/NetworkOPs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2009,13 +2009,13 @@ NetworkOPsImp::pubValidation(std::shared_ptr<STValidation> const& val)
jvObj[jss::signing_time] = *(*val)[~sfSigningTime];
jvObj[jss::data] = strHex(val->getSerializer().slice());

if (auto version = (*val)[~sfServerVersion]; version)
if (auto version = (*val)[~sfServerVersion])
jvObj[jss::server_version] = std::to_string(*version);

if (auto cookie = (*val)[~sfCookie]; cookie)
if (auto cookie = (*val)[~sfCookie])
jvObj[jss::cookie] = std::to_string(*cookie);

if (auto hash = (*val)[~sfValidatedHash]; hash)
if (auto hash = (*val)[~sfValidatedHash])
jvObj[jss::validated_hash] = strHex(*hash);

auto const masterKey =
Expand Down

0 comments on commit e0f8a93

Please sign in to comment.