mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-02 10:15:20 +00:00
fix tests
This commit is contained in:
parent
f6661fdd2c
commit
abdb7f8470
1 changed files with 3 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
||||||
import unittest
|
import unittest
|
||||||
from lib import transaction
|
from lib import transaction
|
||||||
|
from lib.bitcoin import TYPE_ADDRESS
|
||||||
|
|
||||||
import pprint
|
import pprint
|
||||||
|
|
||||||
|
@ -68,7 +69,7 @@ class TestTransaction(unittest.TestCase):
|
||||||
'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs',
|
'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs',
|
||||||
'prevout_n': 0,
|
'prevout_n': 0,
|
||||||
'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac',
|
'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac',
|
||||||
'type': 'address',
|
'type': TYPE_ADDRESS,
|
||||||
'value': 1000000}],
|
'value': 1000000}],
|
||||||
'version': 1
|
'version': 1
|
||||||
}
|
}
|
||||||
|
@ -113,7 +114,7 @@ class TestTransaction(unittest.TestCase):
|
||||||
'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs',
|
'address': '14CHYaaByjJZpx4oHBpfDMdqhTyXnZ3kVs',
|
||||||
'prevout_n': 0,
|
'prevout_n': 0,
|
||||||
'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac',
|
'scriptPubKey': '76a914230ac37834073a42146f11ef8414ae929feaafc388ac',
|
||||||
'type': 'address',
|
'type': TYPE_ADDRESS,
|
||||||
'value': 1000000}],
|
'value': 1000000}],
|
||||||
'version': 1
|
'version': 1
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue