lotus/storage/sectorstorage/mock/util.go
2020-03-27 22:35:33 +01:00

10 lines
110 B
Go

package mock
func CommDR(in []byte) (out [32]byte) {
for i, b := range in {
out[i] = ^b
}
return out
}