Skip to content

Commit

Permalink
Merge pull request #1020 from o1-labs/Shigoto-dev19-patch-1
Browse files Browse the repository at this point in the history
Update offchain-storage.mdx
  • Loading branch information
shimkiv authored Jul 28, 2024
2 parents 75929dc + b79d2e7 commit 0375478
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ class MyContract extends SmartContract {

// increment the player's score, set a precondition on the previous score
offchainState.fields.players.update(playerA, {
from: fromOption,
from: playerOption,
to: score.add(1),
});
}
Expand Down

0 comments on commit 0375478

Please sign in to comment.