Skip to content

Commit 0c1a927

Browse files
authored
Merge pull request #681 from AtomicInnovation321/master
fix typos
2 parents 1ea1e1c + aefabfa commit 0c1a927

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

loopdb/sqlite.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ func (b *BaseDB) FixFaultyTimestamps(ctx context.Context) error {
294294
}
295295

296296
// TxOptions represents a set of options one can use to control what type of
297-
// database transaction is created. Transaction can wither be read or write.
297+
// database transaction is created. Transaction can whether be read or write.
298298
type TxOptions interface {
299299
// ReadOnly returns true if the transaction should be read only.
300300
ReadOnly() bool

loopdb/store.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -641,7 +641,7 @@ func (s *boltSwapStore) updateLoop(bucketKey []byte, hash lntypes.Hash,
641641
}
642642
updatesBucket := swapBucket.Bucket(updatesBucketKey)
643643
if updatesBucket == nil {
644-
return errors.New("udpate bucket not found")
644+
return errors.New("update bucket not found")
645645
}
646646

647647
// Each update for this swap will get a new monotonically

0 commit comments

Comments
 (0)