1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Update setRpcTarget parameter name (#9585)

The `network` parameter of `setRpcTarget` was changed to `chainId` in
a recent commit, but there was an interim variable that we forgot to
rename.
This commit is contained in:
Mark Stacey 2020-10-13 16:37:29 -02:30 committed by GitHub
parent 00c8609f95
commit c11b7cc5ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,8 +34,8 @@ function mapDispatchToProps (dispatch) {
setProviderType: (type) => {
dispatch(actions.setProviderType(type))
},
setRpcTarget: (target, network, ticker, nickname) => {
dispatch(actions.setRpcTarget(target, network, ticker, nickname))
setRpcTarget: (target, chainId, ticker, nickname) => {
dispatch(actions.setRpcTarget(target, chainId, ticker, nickname))
},
delRpcTarget: (target) => {
dispatch(actions.delRpcTarget(target))