Skip to content

Commit 4dd21a7

Browse files
author
Connor Daly
authored
Merge pull request #769 from mikesmithgh/typos
chore: fix typos
2 parents 9d5ad7d + 0456652 commit 4dd21a7

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ Designed for fast deploys. Enables full reset of the blockchain state.
141141
- The `default snapshot` is the main way to keep track of blockchain state. Used by default in the tools.
142142
It is initialized from the `bootstrap snapshot`, and after that is updated from CLI operations.
143143
- `custom snapshots` can be specified by the user, to save and restore particular states. Only changed if
144-
explicitely asked to do so.
144+
explicitly asked to do so.
145145

146146
### Local networks
147147

cmd/subnetcmd/deploy.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ func deploySubnet(_ *cobra.Command, args []string) error {
274274

275275
// from here on we are assuming a public deploy
276276

277-
// get keychain accesor
277+
// get keychain accessor
278278
kc, err := GetKeychain(useLedger, ledgerAddresses, keyName, network)
279279
if err != nil {
280280
return err
@@ -519,7 +519,7 @@ func getThreshold(maxLen int) (uint32, error) {
519519
if maxLen == 1 {
520520
return uint32(1), nil
521521
}
522-
// create a list of indexes so the user only has the option to choose what is the theshold
522+
// create a list of indexes so the user only has the option to choose what is the threshold
523523
// instead of entering
524524
indexList := make([]string, maxLen)
525525
for i := 0; i < maxLen; i++ {
@@ -597,7 +597,7 @@ func SaveNotFullySignedTx(
597597
}
598598
if forceOverwrite {
599599
ux.Logger.PrintToUser("")
600-
ux.Logger.PrintToUser("Overwritting %s", outputTxPath)
600+
ux.Logger.PrintToUser("Overwriting %s", outputTxPath)
601601
}
602602
if err := txutils.SaveToDisk(tx, outputTxPath, forceOverwrite); err != nil {
603603
return err
@@ -645,7 +645,7 @@ func GetKeychain(
645645
keyName string,
646646
network models.Network,
647647
) (keychain.Keychain, error) {
648-
// get keychain accesor
648+
// get keychain accessor
649649
var kc keychain.Keychain
650650
networkID, err := network.NetworkID()
651651
if err != nil {

cmd/transactioncmd/transaction_sign.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func signTx(_ *cobra.Command, args []string) error {
113113
return nil
114114
}
115115

116-
// get keychain accesor
116+
// get keychain accessor
117117
kc, err := subnetcmd.GetKeychain(useLedger, ledgerAddresses, keyName, network)
118118
if err != nil {
119119
return err

pkg/binutils/github.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func (avalancheGoDownloader) GetDownloadURL(version string, installer Installer)
6767
version,
6868
)
6969
ext = zipExtension
70-
// EXPERMENTAL WIN, no support
70+
// EXPERIMENTAL WIN, no support
7171
case windows:
7272
avalanchegoURL = fmt.Sprintf(
7373
"https://github.com/%s/%s/releases/download/%s/avalanchego-win-%s-experimental.zip",

pkg/elasticsubnet/config_prompt.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func getConsumptionRate(app *application.Avalanche) (uint64, uint64, error) {
192192
Value: reward.PercentDenominator,
193193
},
194194
{
195-
Label: "Mininum Consumption Rate",
195+
Label: "Minimum Consumption Rate",
196196
Type: prompts.MoreThanEq,
197197
Value: minConsumptionRate,
198198
},

pkg/txutils/auth.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func GetAuthSigners(tx *txs.Tx, network models.Network, subnetID ids.ID) ([]stri
5656
// - get the string slice of auth signers for the tx (GetAuthSigners)
5757
// - verifies that all creds in tx.Creds, except the last one, are fully signed
5858
// (a cred is fully signed if all the signatures in cred.Sigs are non-empty)
59-
// - computes remaning signers by iterating the last cred in tx.Creds, associated to subnet auth signing
59+
// - computes remaining signers by iterating the last cred in tx.Creds, associated to subnet auth signing
6060
// - for each sig in cred.Sig: if sig is empty, then add the associated auth signer address (obtained from
6161
// authSigners by using the index) to the remaining signers list
6262
//

0 commit comments

Comments
 (0)