Reward state interface only needs cbor.Marshaler

This commit is contained in:
Aayush Rajasekaran 2020-09-23 01:36:55 -04:00
parent ed4bf9b8fe
commit e27fc03f55

View File

@ -29,7 +29,7 @@ func Load(store adt.Store, act *types.Actor) (st State, err error) {
}
type State interface {
cbor.Er
cbor.Marshaler
ThisEpochBaselinePower() (abi.StoragePower, error)
ThisEpochReward() (abi.StoragePower, error)