Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ type vspOptions struct {
MaxFee *cfgutil.AmountFlag `long:"maxfee" description:"Maximum VSP fee"`
}

// cleanAndExpandPath expands environement variables and leading ~ in the
// cleanAndExpandPath expands environment variables and leading ~ in the
// passed path, cleans the result, and returns it.
func cleanAndExpandPath(path string) string {
// Do not try to clean the empty string
Expand Down Expand Up @@ -274,7 +274,7 @@ func supportedSubsystems() []string {
// the levels accordingly. An appropriate error is returned if anything is
// invalid.
func parseAndSetDebugLevels(debugLevel string) error {
// When the specified string doesn't have any delimters, treat it as
// When the specified string doesn't have any delimiters, treat it as
// the log level for all subsystems.
if !strings.Contains(debugLevel, ",") && !strings.Contains(debugLevel, "=") {
// Validate debug log level.
Expand Down
4 changes: 2 additions & 2 deletions internal/rpc/rpcserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ type decodeMessageServer struct {
pb.UnimplementedDecodeMessageServiceServer
}

// networkServer provices RPC clients with the ability to perform network
// networkServer provides RPC clients with the ability to perform network
// related calls that are not necessarily used or backed by the wallet itself.
type networkServer struct {
// ready indicates this service has been provided with all of its
Expand Down Expand Up @@ -2965,7 +2965,7 @@ func (s *loaderServer) RpcSync(req *pb.RpcSyncRequest, svr pb.WalletLoaderServic
}
syncer.SetCallbacks(cbs)

// Synchronize until error or RPC cancelation.
// Synchronize until error or RPC cancellation.
err := syncer.Run(svr.Context())
if err != nil {
if svr.Context().Err() != nil {
Expand Down
2 changes: 1 addition & 1 deletion wallet/addresses.go
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ func (w *Wallet) nextAddress(ctx context.Context, op errors.Op,
// If no DB updates are being deferred until after the nextAddress
// call (i.e. it is the responsibility of nextAddress to open the DB
// transaction), open the transaction before acquiring the address
// bufferes mutex. This is the correct locking order for the address
// buffers mutex. This is the correct locking order for the address
// buffers mutex and any DB mutexes that are locked during a
// transaction.
if updates == nil && maybeDBTX == nil {
Expand Down
4 changes: 2 additions & 2 deletions wallet/udb/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,8 +183,8 @@ const (
// transactions by transaction hash, rather than by pi key.
tspendHashPolicyVersion = 22

// vspHostVersion is the 23nd version of the database. It adds a
// vsp host ane vsp pubkey buckets to the db.
// vspHostVersion is the 23rd version of the database. It adds a
// vsp host and vsp pubkey buckets to the db.
vspHostVersion = 23

// vspTreasuryPoliciesVersion is the 24th version of the database. It
Expand Down
Loading