remove unnecessary variable during getRoot
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
This commit is contained in:
parent
412185b667
commit
a6bca9e27f
@ -69,12 +69,11 @@ abstract contract Weaver is IWeaver {
|
||||
}
|
||||
}
|
||||
|
||||
uint256 nextSession = session;
|
||||
if (nextSession < currentSession) {
|
||||
unchecked { ++nextSession; }
|
||||
if (session < currentSession) {
|
||||
unchecked { ++session; }
|
||||
}
|
||||
|
||||
return (currentLevel[0], nextSession);
|
||||
return (currentLevel[0], session);
|
||||
}
|
||||
|
||||
function getProof(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user