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
org.opentest4j.AssertionFailedError: latest block wrong ==> Expected :000011111011011110110111111100838048897 Actual :000000000000000000000000000000838048897
The ending is the same but the starting part is different.
The first iteration runs fine, however, in the second iteration we get the error.
The error doesn't arise if we change the bottom if clause to if (i % 2 == 1) {
I think this might be because the insertBlock method works only if the prevAddress is different from the node's address and if the if clause remains as i%2==0, then the insertBlock doesn't work since prevAddress is equal to address in that case.
The text was updated successfully, but these errors were encountered:
org.opentest4j.AssertionFailedError: latest block wrong ==> Expected :000011111011011110110111111100838048897 Actual :000000000000000000000000000000838048897
The ending is the same but the starting part is different.
The first iteration runs fine, however, in the second iteration we get the error.
The error doesn't arise if we change the bottom if clause to if
(i % 2 == 1) {
I think this might be because the
insertBlock
method works only if theprevAddress
is different from the node'saddress
and if the if clause remains asi%2==0
, then theinsertBlock
doesn't work sinceprevAddress
is equal toaddress
in that case.The text was updated successfully, but these errors were encountered: