You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it('should check whether the passed collectible is still owned by the the selectedAddress/chainId combination passed in the accountParams argument and update its isCurrentlyOwned property in state, when the currently configured selectedAddress/chainId are different from those passed',async()=>{
@@ -195,31 +195,27 @@ export class CollectiblesController extends BaseController<
195
195
* @param newCollection - the modified piece of state to update in the controller's store
196
196
* @param baseStateKey - The root key in the store to update.
197
197
* @param passedConfig - An object containing the selectedAddress and chainId that are passed through the auto-detection flow.
198
-
* @param passedConfig.selectedAddress - the address passed through the collectible detection flow to ensure detected assets are stored to the correct account
198
+
* @param passedConfig.userAddress - the address passed through the collectible detection flow to ensure detected assets are stored to the correct account
199
199
* @param passedConfig.chainId - the chainId passed through the collectible detection flow to ensure detected assets are stored to the correct account
@@ -1045,22 +1041,23 @@ export class CollectiblesController extends BaseController<
1045
1041
*
1046
1042
* @param collectible - The collectible object to check and update.
1047
1043
* @param batch - A boolean indicating whether this method is being called as part of a batch or single update.
1044
+
* @param accountParams - The userAddress and chainId to check ownership against
1045
+
* @param accountParams.userAddress - the address passed through the confirmed transaction flow to ensure detected assets are stored to the correct account
1046
+
* @param accountParams.chainId - the chainId passed through the confirmed transaction flow to ensure detected assets are stored to the correct account
1048
1047
* @returns the collectible with the updated isCurrentlyOwned value
0 commit comments