Skip to content

Commit

Permalink
Merge pull request #508 from dashpay/develop
Browse files Browse the repository at this point in the history
chore: Merge develop into master
  • Loading branch information
pankcuf authored Jul 18, 2023
2 parents 2c738d8 + f1ba141 commit 23dd88c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ - (void)peer:(DSPeer *)peer relayedMasternodeDiffMessage:(NSData *)message {
UInt256 blockHash = result.blockHash;
DSLog(@"•••• -> processed mnlistdiff %u..%u %@ .. %@", [self heightForBlockHash:baseBlockHash], [self heightForBlockHash:blockHash], uint256_hex(baseBlockHash), uint256_hex(blockHash));
#if SAVE_MASTERNODE_DIFF_TO_FILE
NSString *fileName = [NSString stringWithFormat:@"MNL_%@_%@__%d.dat", @([self heightForBlockHash:baseBlockHash]), @([self heightForBlockHash:blockHash]), @(peer.version)];
NSString *fileName = [NSString stringWithFormat:@"MNL_%@_%@__%d.dat", @([self heightForBlockHash:baseBlockHash]), @([self heightForBlockHash:blockHash]), peer.version];
DSLog(@"•-• File %@ saved", fileName);
[message saveToFile:fileName inDirectory:NSCachesDirectory];
#endif
Expand Down Expand Up @@ -749,7 +749,7 @@ - (void)peer:(DSPeer *)peer relayedQuorumRotationInfoMessage:(NSData *)message {
DSLog(@"•••• -> processed qrinfo h-4c %u..%u %@ .. %@", [self heightForBlockHash:result.mnListDiffResultAtH4C.baseBlockHash], [self heightForBlockHash:result.mnListDiffResultAtH4C.blockHash], uint256_hex(result.mnListDiffResultAtH4C.baseBlockHash), uint256_hex(result.mnListDiffResultAtH4C.blockHash));
}
#if SAVE_MASTERNODE_DIFF_TO_FILE
NSString *fileName = [NSString stringWithFormat:@"QRINFO_%@_%@__%d.dat", @([self heightForBlockHash:baseBlockHash]), @([self heightForBlockHash:blockHash]), @(peer.version)];
NSString *fileName = [NSString stringWithFormat:@"QRINFO_%@_%@__%d.dat", @([self heightForBlockHash:baseBlockHash]), @([self heightForBlockHash:blockHash]), peer.version];
DSLog(@"•-• File %@ saved", fileName);
[message saveToFile:fileName inDirectory:NSCachesDirectory];
#endif
Expand Down

0 comments on commit 23dd88c

Please sign in to comment.