Skip to content

Commit baf9929

Browse files
author
marcus-0x
authored
Synced PowLimit condition with Official XRC Node (#403)
1 parent 0bc4b33 commit baf9929

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Networks/Blockcore.Networks.XRC/Rules/XRCCheckDifficultyPowRule.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public Target GetWorkRequiredDigiShield(ChainedHeader chainedHeaderToValidate, X
141141
var nMaxActualTimespanV4 = TimeSpan.FromSeconds(nAveragingTargetTimespanV4 * (100 + nMaxAdjustDownV4) / 100);
142142

143143
var height = chainedHeaderToValidate.Height;
144-
Target proofOfWorkLimit = consensus.PowLimit;
144+
Target proofOfWorkLimit = consensus.PowLimit2;
145145
ChainedHeader lastBlock = chainedHeaderToValidate.Previous;
146146
ChainedHeader firstBlock = chainedHeaderToValidate.GetAncestor(height - nAveragingInterval);
147147

0 commit comments

Comments
 (0)