lotus/chain/actors/builtin/multisig/v0.go
2020-09-15 14:44:03 -07:00

17 lines
407 B
Go

package multisig
import (
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/lotus/chain/actors/adt"
"github.com/filecoin-project/specs-actors/actors/builtin/multisig"
)
type v0State struct {
multisig.State
store adt.Store
}
func (s *v0State) LockedBalance(currEpoch abi.ChainEpoch) (abi.TokenAmount, error) {
return s.State.AmountLocked(currEpoch - s.StartEpoch), nil
}