Decoded bech32 address to script
(witver, witprog)
| 26 | yield testcase |
| 27 | |
| 28 | def to_scriptPubKey(witver, witprog): |
| 29 | """Decoded bech32 address to script""" |
| 30 | return CScript([witver]) + CScript(bytes(witprog)) |
| 31 | |
| 32 | class Test_bech32(unittest.TestCase): |
| 33 |
no test coverage detected