This commit is contained in:
Łukasz Magiera
2020-04-30 12:51:19 +02:00
parent 5ec76d4b7b
commit 81e3b714a2
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ import (
"github.com/filecoin-project/lotus/chain/actors/aerrors"
)
type NotAVeryGoodMarshaler struct {}
type NotAVeryGoodMarshaler struct{}
func (*NotAVeryGoodMarshaler) MarshalCBOR(writer io.Writer) error {
return xerrors.Errorf("no")
+1 -1
View File
@@ -151,7 +151,7 @@ var bitFieldStatCmd = &cli.Command{
return xerrors.Errorf("getting run iterator: %w", err)
}
fmt.Printf("Raw length: %d bits (%d bytes)\n", len(dec) * 8, len(dec))
fmt.Printf("Raw length: %d bits (%d bytes)\n", len(dec)*8, len(dec))
var ones, zeros, oneRuns, zeroRuns, invalid uint64
+4 -4
View File
@@ -20,7 +20,7 @@ func IpfsClientBlockstore(mctx helpers.MetricsCtx, lc fx.Lifecycle, fstore dtype
}
return bufbstore.NewTieredBstore(
ipfsbs,
blockstore.NewIdStore((*filestore.Filestore)(fstore)),
), nil
}
ipfsbs,
blockstore.NewIdStore((*filestore.Filestore)(fstore)),
), nil
}