extension icon indicating copy to clipboard operation
extension copied to clipboard

Fix regtest for some functions

Open Polybius93 opened this issue 1 year ago • 2 comments

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:

  • sending BTC to a regtest address is not working, error is:
Address is for incorrect network

Polybius93 avatar Jan 29 '24 08:01 Polybius93

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)

kyranjamie avatar Jan 30 '24 13:01 kyranjamie

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

pete-watters avatar Jul 11 '24 15:07 pete-watters