BP-WG / bp-wallet

Modern, lightweight & standard-compliant bitcoin wallet runtime & cli without rust-bitcoin dependencies
Apache License 2.0
17 stars 12 forks source link

sync utxo bug #65

Closed cymqqqq closed 2 months ago

cymqqqq commented 2 months ago

I try to use bp-wallet to sync the utxo here, I set the electrum URL to blockstream.info:143, then set indexer = AnyIndexer::Electrum(Box::new(Client::new(ELECTRUM_URL).unwrap())). And then when I call wallet.update(indexer), the errors print out:

image

So it's a bug?

dr-orlovsky commented 2 months ago

it seems your electrum URL misses https:// prefix. But I agree that instead of painc there should be a more verbose message

dr-orlovsky commented 2 months ago

Can you please try using master tip?