Skip to content

Commit

Permalink
Merge pull request #3475 from crystalstall/develop
Browse files Browse the repository at this point in the history
chore: fix some comments
  • Loading branch information
jorgemmsilva authored Jul 24, 2024
2 parents eea0428 + 35d9bca commit 7097de4
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion contracts/wasm/scripts/rust_all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ cd $contracts_path
go install ../../tools/schema
schema -rs
if [ "$1" == "ci" ]; then
# in CI all, using local depenedency will make things easier
# in CI all, using local dependency will make things easier
bash ./scripts/toml_localize_deps.sh
fi
schema -rs -build
2 changes: 1 addition & 1 deletion packages/l1connection/l1connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ func (c *l1client) waitUntilBlockConfirmed(ctx context.Context, blockID iotago.B

checkContext := func() error {
if err := ctx.Err(); err != nil {
return fmt.Errorf("failed to wait for block confimation within timeout: %w", err)
return fmt.Errorf("failed to wait for block confirmation within timeout: %w", err)
}

return nil
Expand Down
2 changes: 1 addition & 1 deletion packages/tcrypto/dkshare.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ func (s *dkShareImpl) DSSVerifyMasterSignature(data, signature []byte) error {
}

func (s *dkShareImpl) DSS() SecretShare {
return newDistKeyShare( // TODO: Use a singe instance.
return newDistKeyShare( // TODO: Use a single instance.
&share.PriShare{
I: int(*s.index),
V: s.edPrivateShare.Clone(),
Expand Down
2 changes: 1 addition & 1 deletion packages/testutil/peering_net_behaviour.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func (n *peeringNetReliable) recvLoop(inCh, outCh chan *peeringMsg, closeCh chan
}
}

// peeringNetUnreliable simulates unreliable network by droppin, repeating, delaying and reordering messages.
// peeringNetUnreliable simulates unreliable network by dropping, repeating, delaying and reordering messages.
type peeringNetUnreliable struct {
deliverPct int // probability to deliver a message (in percents)
repeatPct int // Probability to repeat a message (in percents, if delivered)
Expand Down
2 changes: 1 addition & 1 deletion packages/transaction/change_gov_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func NewChangeGovControllerTx(
newConditions := make(iotago.UnlockConditions, len(chainOutput.Conditions))
for i, c := range chainOutput.Conditions {
if _, ok := c.(*iotago.GovernorAddressUnlockCondition); ok {
// change the gov unlock condiiton to the new owner
// change the gov unlock condition to the new owner
newConditions[i] = &iotago.GovernorAddressUnlockCondition{
Address: newGovController,
}
Expand Down
2 changes: 1 addition & 1 deletion tools/dbinspector/dbinspector.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Small utility to analyze the database contents of a wasp node.

Simply run the exectutable and pass the path to the wasp database:
Simply run the executable and pass the path to the wasp database:

```shell
dbinspector /path/to/waspdb
Expand Down

0 comments on commit 7097de4

Please sign in to comment.