Skip to content

Commit

Permalink
struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Reallyfe authored Apr 14, 2024
1 parent cded32a commit 274ff97
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
prand "math/rand"
"net"
"strconv"

"strings"
"sync"
"sync/atomic"
Expand Down
4 changes: 3 additions & 1 deletion witness_beacon.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ type preimageSubscriber struct {
quit chan struct{}
}

type witnessCache interface {
type

witnessCache interface {
// LookupSha256Witness attempts to lookup the preimage for a sha256
// hash. If the witness isn't found, ErrNoWitnesses will be returned.
LookupSha256Witness(hash lntypes.Hash) (lntypes.Preimage, error)
Expand Down

0 comments on commit 274ff97

Please sign in to comment.