Skip to content

Commit

Permalink
fix import of v0 for test
Browse files Browse the repository at this point in the history
We're still on actors v0 in this test.
  • Loading branch information
Stebalien committed Oct 21, 2020
1 parent 9d15a08 commit 5e23933
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chain/stmgr/forks_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"github.com/filecoin-project/go-state-types/abi"
"github.com/filecoin-project/go-state-types/cbor"

builtin2 "github.com/filecoin-project/specs-actors/v2/actors/builtin"
builtin0 "github.com/filecoin-project/specs-actors/actors/builtin"
init2 "github.com/filecoin-project/specs-actors/v2/actors/builtin/init"
rt2 "github.com/filecoin-project/specs-actors/v2/actors/runtime"

Expand Down Expand Up @@ -46,7 +46,7 @@ type testActor struct {
}

// must use existing actor that an account is allowed to exec.
func (testActor) Code() cid.Cid { return builtin2.PaymentChannelActorCodeID }
func (testActor) Code() cid.Cid { return builtin0.PaymentChannelActorCodeID }
func (testActor) State() cbor.Er { return new(testActorState) }

type testActorState struct {
Expand Down

0 comments on commit 5e23933

Please sign in to comment.