Skip to content

Commit

Permalink
fix deferred migration
Browse files Browse the repository at this point in the history
  • Loading branch information
magik6k committed Jan 3, 2024
1 parent 575a3b6 commit 403d021
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion migration/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package migration

import (
"context"
"errors"
"sync"
"time"

Expand Down Expand Up @@ -232,7 +233,7 @@ func (d DeferredMigrator) MigratedCodeCID() cid.Cid {
panic("this can't be called")
}

var errMigrationDeferred = xerrors.Errorf("migration deferred")
var errMigrationDeferred = errors.New("migration deferred")

func (d DeferredMigrator) MigrateState(ctx context.Context, store cbor.IpldStore, in ActorMigrationInput) (*ActorMigrationResult, error) {
d.ds.lk.Lock()
Expand Down

0 comments on commit 403d021

Please sign in to comment.