Skip to content

Commit

Permalink
Skip XDR hash checking in vnext build
Browse files Browse the repository at this point in the history
  • Loading branch information
bboston7 committed Mar 4, 2025
1 parent 901b5ff commit 90bc0ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,11 @@ main(int argc, char* const* argv)
checkStellarCoreMajorVersionProtocolIdentity();
rust_bridge::check_sensible_soroban_config_for_protocol(
Config::CURRENT_LEDGER_PROTOCOL_VERSION);

// Disable XDR hash checking in vnext builds
#ifndef ENABLE_NEXT_PROTOCOL_VERSION_UNSAFE_FOR_PRODUCTION
checkXDRFileIdentity();
#endif

int res = handleCommandLine(argc, argv);
return res;
Expand Down

0 comments on commit 90bc0ce

Please sign in to comment.