17 lines
407 B
Go
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
|
|
}
|