leather-io / extension

Leather browser extension
https://leather.io
MIT License
294 stars 142 forks source link

Fix regtest for some functions #4874

Open Polybius93 opened 8 months ago

Polybius93 commented 8 months ago

Some functions doesn't work with regtest networks, where this function is being used:

bitcoinNetworkModeToCoreNetworkMode

This function converts the regtest network type to testnet, which makes the regtest address not compatible.

For example:

kyranjamie commented 8 months ago

When fixing this bug, let's write an automated test that sets the network to regtest, and ensures the bitcoin sending flow works (will require API mocks)

pete-watters commented 3 months ago

A pre-cursor to this task is to setup the environment https://github.com/leather-io/issues/issues/159