You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: IxianDLT/Block/BlockProcessor.cs
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2159,7 +2159,7 @@ public bool acceptLocalNewBlock()
2159
2159
{
2160
2160
if(Node.isMasterNode()&&localNewBlock.blockNum>7)
2161
2161
{
2162
-
BlockSignaturesignature_data=localNewBlock.applySignature(PresenceList.getPowSolution());// applySignature() will return signature_data, if signature was applied and null, if signature was already present from before
2162
+
BlockSignaturesignature_data=localNewBlock.applySignature(Node.signerPowMiner.GetBestSolution(localNewBlock.blockNum));// applySignature() will return signature_data, if signature was applied and null, if signature was already present from before
2163
2163
if(signature_data!=null)
2164
2164
{
2165
2165
foreach(varsiginlocalNewBlock.signatures)
@@ -2172,6 +2172,7 @@ public bool acceptLocalNewBlock()
0 commit comments