Skip to content

Commit df45d65

Browse files
fix: gofmt
1 parent 6f6bd45 commit df45d65

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

pkg/bmt/bmt.go

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,14 @@ var (
3131
// Sum gives back the tree to the pool and guaranteed to leave
3232
// the tree and itself in a state reusable for hashing a new chunk.
3333
type Hasher struct {
34-
*Conf // configuration
35-
bmt *tree // prebuilt BMT resource for flowcontrol and proofs
36-
size int // bytes written to Hasher since last Reset()
37-
pos int // index of rightmost currently open segment
38-
result chan []byte // result channel
39-
errc chan error // error channel
40-
span []byte // The span of the data subsumed under the chunk
41-
resultOnce *sync.Once // ensures only one result is sent (pointer allows reset)
34+
*Conf // configuration
35+
bmt *tree // prebuilt BMT resource for flowcontrol and proofs
36+
size int // bytes written to Hasher since last Reset()
37+
pos int // index of rightmost currently open segment
38+
result chan []byte // result channel
39+
errc chan error // error channel
40+
span []byte // The span of the data subsumed under the chunk
41+
resultOnce *sync.Once // ensures only one result is sent (pointer allows reset)
4242
}
4343

4444
// NewHasher gives back an instance of a Hasher struct

0 commit comments

Comments
 (0)