File tree 1 file changed +4
-4
lines changed
packages/keyring-controller/src
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2162,18 +2162,18 @@ export class KeyringController extends BaseController<
2162
2162
}
2163
2163
2164
2164
/**
2165
- * Get a snapshot of data that can be updated during a `withKeyring` operation .
2165
+ * Get a snapshot of session data held by class variables .
2166
2166
*
2167
- * @returns Snapshot of updatable data.
2167
+ * @returns An object with serialized keyrings, keyrings metadata,
2168
+ * and the user password.
2168
2169
*/
2169
- async #getUpdatableState ( ) : Promise < UpdatableState > {
2170
+ async #getControllerSessionState ( ) : Promise < SessionState > {
2170
2171
return {
2171
2172
keyrings : await this . #getSerializedKeyrings( ) ,
2172
2173
keyringsMetadata : this . #keyringsMetadata. slice ( ) , // Force copy.
2173
2174
password : this . #password,
2174
2175
} ;
2175
2176
}
2176
-
2177
2177
/**
2178
2178
* Restore a serialized keyrings array.
2179
2179
*
You can’t perform that action at this time.
0 commit comments