mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-16 16:32:47 +00:00
test: Remove unused AddressType
unused after commit c847dee1488a294c9a9632a00ba1134b21e41947
This commit is contained in:
parent
fab5072ce1
commit
fa803710e2
@ -8,7 +8,6 @@
|
||||
- bech32 segwit v0 P2WPKH and P2WSH addresses.
|
||||
- bech32m segwit v1 P2TR addresses."""
|
||||
|
||||
import enum
|
||||
import unittest
|
||||
|
||||
from .script import (
|
||||
@ -37,13 +36,6 @@ ADDRESS_BCRT1_UNSPENDABLE_DESCRIPTOR = 'addr(bcrt1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
|
||||
# Coins sent to this address can be spent with a witness stack of just OP_TRUE
|
||||
ADDRESS_BCRT1_P2WSH_OP_TRUE = 'bcrt1qft5p2uhsdcdc3l2ua4ap5qqfg4pjaqlp250x7us7a8qqhrxrxfsqseac85'
|
||||
|
||||
|
||||
class AddressType(enum.Enum):
|
||||
bech32 = 'bech32'
|
||||
p2sh_segwit = 'p2sh-segwit'
|
||||
legacy = 'legacy' # P2PKH
|
||||
|
||||
|
||||
b58chars = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user