Skip to content

Commit

Permalink
Merge pull request #290 from skalenetwork/bug/SKALE-2704-rotation-fail
Browse files Browse the repository at this point in the history
Bug/skale 2704 rotation fail
  • Loading branch information
dimalit authored Jun 24, 2020
2 parents 8a550c9 + 7cf20d7 commit b7d7688
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions libskale/SnapshotHashAgent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,10 @@ bool SnapshotHashAgent::voteForHash( std::pair< dev::h256, libff::alt_bn128_G1 >
try {
this->verifyAllData( verified );
} catch ( IsNotVerified& ex ) {
IsNotVerified( cc::fatal( "FATAL:" ) + " " +
cc::error( "Exception while verifying signatures from other skaleds: " ) +
" " + cc::warn( ex.what() ) );
throw IsNotVerified(
cc::fatal( "FATAL:" ) + " " +
cc::error( "Exception while verifying signatures from other skaleds: " ) + " " +
cc::warn( ex.what() ) );
} catch ( std::exception& ex ) {
std::throw_with_nested(
cc::fatal( "FATAL:" ) + " " +
Expand Down

0 comments on commit b7d7688

Please sign in to comment.