mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2025-12-17 22:14:24 +01:00
Fix example network and logger call (#349)
This commit is contained in:
4
packages/react-native/example/App.js
vendored
4
packages/react-native/example/App.js
vendored
@@ -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 })
|
||||
|
||||
Reference in New Issue
Block a user