Skip to content

Commit 80aaa10

Browse files
committed
Session configuration update should increment checkpoint
1 parent 6e593e8 commit 80aaa10

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/wdk/src/session/session-controller.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,11 @@ export class SessionController {
151151

152152
// Update the configuration to use the new session manager image hash
153153
managerLeaf.imageHash = newImageHash
154+
155+
// Increment the checkpoint
156+
configuration.checkpoint += 1n
157+
158+
// Update the wallet configuration
154159
return await this._wallet.prepareUpdate(configuration)
155160
}
156161

0 commit comments

Comments
 (0)