Commit d5b6341
committed
chore(pullsync): remove cosmetic regressions
Commits 7429496 and 4f9650f introduced four style regressions:
- ErrUnsolicitedChunk wrapped in a single-element var () block; unwrap
to a plain var declaration matching the rest of the package.
- Blank lines after the opening brace of New(), handler(), Sync(), and
makeOffer(); remove to match bee's conventional style.
Also note: commit 4fd11e0 silently added
s.logger.Debug("batch timeout timer triggered") to the collectAddrs
timer case; that addition is intentional and remains.
No behaviour change.1 parent 4fd11e0 commit d5b6341
1 file changed
Lines changed: 1 addition & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
47 | 45 | | |
48 | 46 | | |
49 | 47 | | |
| |||
98 | 96 | | |
99 | 97 | | |
100 | 98 | | |
101 | | - | |
102 | 99 | | |
103 | 100 | | |
104 | 101 | | |
| |||
134 | 131 | | |
135 | 132 | | |
136 | 133 | | |
137 | | - | |
138 | 134 | | |
139 | 135 | | |
140 | 136 | | |
| |||
238 | 234 | | |
239 | 235 | | |
240 | 236 | | |
241 | | - | |
242 | 237 | | |
243 | 238 | | |
244 | 239 | | |
| |||
421 | 416 | | |
422 | 417 | | |
423 | 418 | | |
424 | | - | |
425 | 419 | | |
426 | 420 | | |
427 | 421 | | |
| |||
0 commit comments