-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
If you pass in a regtest invoice, it fails. If I add another the bcrt case, it seems to work fine:
switch ($bech32Prefix) {
case 'bc':
case 'bcrt':
return new BitcoinMainnet();
case 'tb':
return new BitcoinTestnet();
default:
throw new UnknownNetworkVersionException('unknown network for invoice:' . $bech32Prefix);
}
Although there might be a need for a new BitcoinRegtest
class, but that's way above my knowledge
Metadata
Metadata
Assignees
Labels
No labels