Don't auto write p2pProtocol macro expansion to file (#678)

This commit is contained in:
andri lim 2024-02-16 14:13:03 +07:00 committed by GitHub
parent b9c40e1380
commit efe610e27f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 7 additions and 5 deletions

View File

@ -1005,6 +1005,8 @@ macro emitForSingleBackend(
peerState.getType, networkState.getType) peerState.getType, networkState.getType)
result = p.genCode() result = p.genCode()
when defined(p2pProtocolDebug):
try: try:
result.storeMacroResult true result.storeMacroResult true
except IOError: except IOError: