Skip to content
This repository has been archived by the owner on Nov 26, 2024. It is now read-only.

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed Mar 8, 2024
1 parent efcc03d commit 5666569
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/osp/OneStepProverHostIo.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2021-2023, Offchain Labs, Inc.
// Copyright 2021-2024, Offchain Labs, Inc.
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

Expand Down Expand Up @@ -435,7 +435,7 @@ contract OneStepProverHostIo is IOneStepProver {
mach.valueMultiStack.pushNew();
}

function proovePopCothread(MultiStack memory multi, bytes calldata proof) internal pure {
function provePopCothread(MultiStack memory multi, bytes calldata proof) internal pure {
uint256 proofOffset = 0;
bytes32 newInactiveCoThread;
bytes32 newRemaining;
Expand All @@ -453,7 +453,6 @@ contract OneStepProverHostIo is IOneStepProver {
}
multi.remainingHash = newRemaining;
multi.inactiveStackHash = newInactiveCoThread;
return;
}

function executePopCoThread(
Expand All @@ -473,8 +472,8 @@ contract OneStepProverHostIo is IOneStepProver {
mach.status = MachineStatus.ERRORED;
return;
}
proovePopCothread(mach.valueMultiStack, proof);
proovePopCothread(mach.frameMultiStack, proof[64:]);
provePopCothread(mach.valueMultiStack, proof);
provePopCothread(mach.frameMultiStack, proof[64:]);
}

function executeSwitchCoThread(
Expand Down

0 comments on commit 5666569

Please sign in to comment.