Skip to content

Commit 2455b4e

Browse files
committed
Use noPendingMigrations flag
1 parent 4bbc460 commit 2455b4e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/wallet/core/src/wallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ export class Wallet {
498498
options?: {
499499
space?: bigint
500500
noConfigUpdate?: boolean
501-
noMigration?: boolean
501+
noPendingMigrations?: boolean
502502
unsafe?: boolean
503503
},
504504
): Promise<Envelope.Envelope<Payload.Calls>> {
@@ -526,7 +526,7 @@ export class Wallet {
526526
// If the latest configuration does not match the onchain configuration, we bundle the update into the transaction envelope
527527
// Same for pending migrations
528528
const status = await this.getStatus(provider)
529-
this.requireV3Wallet(status)
529+
this.requireV3Wallet(status, options?.noPendingMigrations)
530530

531531
if (!options?.noConfigUpdate) {
532532
if (status.imageHash !== status.onChainImageHash) {

0 commit comments

Comments
 (0)