fix: rpc endpoint setting ultra-light mode logic (#547)

This commit is contained in:
Adam Uhlíř
2022-09-15 05:42:53 -07:00
committed by GitHub
parent 5295bd5b01
commit e2dd077118
4 changed files with 37 additions and 40 deletions
-1
View File
@@ -12,7 +12,6 @@ export async function getBzzPriceAsDai(desktopUrl: string): Promise<Token> {
export async function upgradeToLightNode(desktopUrl: string, rpcProvider: string): Promise<void> {
await updateDesktopConfiguration(desktopUrl, {
'chain-enable': true,
'swap-enable': true,
'swap-endpoint': rpcProvider,
})