package actors import ( "github.com/filecoin-project/go-lotus/chain/actors/aerrors" "github.com/filecoin-project/go-lotus/chain/address" ) func NewIDAddress(id uint64) (address.Address, ActorError) { a, err := address.NewIDAddress(id) if err != nil { return address.Undef, aerrors.Escalate(err, "could not create ID Address") } return a, nil }