Rename init() to connect() (#119)

* Rename init() to connect()

* Shorten commit ID for secp256k1-zkp dependency

* Update RN bindings

* Rename the manually coded init function to connect

* Update RN example app

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
Co-authored-by: Ross Savage <551697+dangeross@users.noreply.github.com>
This commit is contained in:
ok300
2024-04-29 15:25:48 +00:00
committed by GitHub
parent 021d28c947
commit 522bdaea5c
25 changed files with 46 additions and 42 deletions

View File

@@ -71,7 +71,7 @@ fn main() -> Result<()> {
}
let mnemonic = persistence.get_or_create_mnemonic()?;
let wallet = Wallet::init(
let wallet = Wallet::connect(
&mnemonic.to_string(),
Some(data_dir_str),
Network::LiquidTestnet,