Merge pull request #681 from AtomicInnovation321/master

fix typos
pull/683/head
András Bánki-Horváth 4 months ago committed by GitHub
commit 0c1a927411
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -294,7 +294,7 @@ func (b *BaseDB) FixFaultyTimestamps(ctx context.Context) error {
}
// TxOptions represents a set of options one can use to control what type of
// database transaction is created. Transaction can wither be read or write.
// database transaction is created. Transaction can whether be read or write.
type TxOptions interface {
// ReadOnly returns true if the transaction should be read only.
ReadOnly() bool

@ -641,7 +641,7 @@ func (s *boltSwapStore) updateLoop(bucketKey []byte, hash lntypes.Hash,
}
updatesBucket := swapBucket.Bucket(updatesBucketKey)
if updatesBucket == nil {
return errors.New("udpate bucket not found")
return errors.New("update bucket not found")
}
// Each update for this swap will get a new monotonically

Loading…
Cancel
Save