Skip to content

Commit

Permalink
transaction scaling guide - fix code error (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
nvdtf authored Dec 24, 2024
1 parent 2939cee commit 85b40c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/build/advanced-concepts/scaling.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ func IncreaseCounter(ctx context.Context, flowClient *grpc.Client, account *flow
tx.SetProposalKey(
account.Address,
account.Keys[proposalKeyIndex].Index,
account.Keys[proposalKeyIndex].SequenceNumber-1,
account.Keys[proposalKeyIndex].SequenceNumber,
)

return RunTransaction(ctx, flowClient, account, signer, tx)
Expand Down

0 comments on commit 85b40c0

Please sign in to comment.