Fix example network and logger call (#349)

This commit is contained in:
Ross Savage
2024-07-01 10:11:02 +02:00
committed by GitHub
parent 381c09b93f
commit 15a243251e
5 changed files with 20 additions and 12 deletions

View File

@@ -13,8 +13,8 @@ import {
connect,
defaultConfig,
getInfo,
LiquidNetwork,
listPayments,
Network,
removeEventListener,
prepareReceivePayment,
prepareSendPayment,
@@ -64,7 +64,7 @@ const App = () => {
}
// Connect using the config
const config = await defaultConfig(Network.MAINNET)
const config = await defaultConfig(LiquidNetwork.MAINNET)
addLine("defaultConfig", JSON.stringify(config))
await connect({ config, mnemonic })