fix: update swap-endpoint to blockchain-rpc-endpoint (#628)

This commit is contained in:
rampall
2023-10-18 16:42:06 +03:00
committed by GitHub
parent 8367f2b76a
commit bce93ce3cd
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ export default function SettingsPage(): ReactElement {
try {
setAndPersistJsonRpcProvider(value)
const shouldUpdateDesktop = isDesktop && (await getDesktopConfiguration(desktopUrl))['swap-endpoint']
const shouldUpdateDesktop = isDesktop && (await getDesktopConfiguration(desktopUrl))['blockchain-rpc-endpoint']
if (shouldUpdateDesktop) {
await setJsonRpcInDesktop(desktopUrl, value)