lotus/extern/sector-storage/mock/util.go

10 lines
110 B
Go
Raw Normal View History

2020-03-23 11:40:02 +00:00
package mock
func CommDR(in []byte) (out [32]byte) {
2020-03-23 11:40:02 +00:00
for i, b := range in {
out[i] = ^b
}
return out
}