SomberNight
7 years ago
No known key found for this signature in database
GPG Key ID: B33B5F232C6271E9
1 changed files with
5 additions and
0 deletions
-
lib/tests/test_transaction.py
|
|
@ -221,6 +221,11 @@ class TestTransaction(SequentialTestCase): |
|
|
|
txid = 'ed3d100577477d799107eba97e76770b3efa253c7200e9abfb43da5d2b33513e' |
|
|
|
self._run_naive_tests_on_tx(raw_tx, txid) |
|
|
|
|
|
|
|
def test_txid_segwit_coinbase_to_p2sh(self): |
|
|
|
raw_tx = '020000000001010000000000000000000000000000000000000000000000000000000000000000ffffffff050214030101ffffffff02902f50090000000017a914ba582096f8647ca4195f55c8ef7e7e6e120e88b1870000000000000000266a24aa21a9ede2f61c3f71d1defd3fa999dfa36953755c690689799962b48bebd836974e8cf90120000000000000000000000000000000000000000000000000000000000000000000000000' |
|
|
|
txid = 'e28ee5866ec0535fe5efac5ad350cbf4960ed981b471a0c4a6baad1d8168d3d7' |
|
|
|
self._run_naive_tests_on_tx(raw_tx, txid) |
|
|
|
|
|
|
|
def test_txid_p2pk_to_p2pkh(self): |
|
|
|
raw_tx = '010000000118231a31d2df84f884ced6af11dc24306319577d4d7c340124a7e2dd9c314077000000004847304402200b6c45891aed48937241907bc3e3868ee4c792819821fcde33311e5a3da4789a02205021b59692b652a01f5f009bd481acac2f647a7d9c076d71d85869763337882e01fdffffff016c95052a010000001976a9149c4891e7791da9e622532c97f43863768264faaf88ac00000000' |
|
|
|
txid = '90ba90a5b115106d26663fce6c6215b8699c5d4b2672dd30756115f3337dddf9' |
|
|
|