We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fad8f7b commit 2760575Copy full SHA for 2760575
docs/develop/data-formats/cell-boc.mdx
@@ -125,17 +125,17 @@ And concat it by joining the corresponding strings into a single array of bytes:
125
126
```golang
127
func (c *Cell) descriptors() []byte {
128
-ceilBytes := c.bitsSz / 8
129
-if c.bitsSz%8 ! = 0 {
130
-ceilBytes++
131
-}
+ ceilBytes := c.bitsSz / 8
+ if c.bitsSz%8 ! = 0 {
+ ceilBytes++
+ }
132
133
// calc size
134
- ln := ceilBytes + c.bitsSz/8
+ ln := ceilBytes + c.bitsSz / 8
135
136
specBit := byte(0)
137
if c.special {
138
- specBit = 8
+ specBit = 8
139
}
140
141
return []byte{byte(len(c.refs)) + specBit + c.level*32, byte(ln)}
0 commit comments