Skip to content

Commit

Permalink
Update offchain-storage.mdx
Browse files Browse the repository at this point in the history
Fix typo: Line 156
`from: fromOption` --> `from: playerOption`
  • Loading branch information
Shigoto-dev19 authored Jul 28, 2024
1 parent 75929dc commit b79d2e7
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 b79d2e7

Please sign in to comment.