diff options
author | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-06-20 14:01:36 +0200 |
---|---|---|
committer | Sebastian Falbesoner <sebastian.falbesoner@gmail.com> | 2021-06-21 14:33:59 +0200 |
commit | 191405420815d49ab50184513717a303fc2744d6 (patch) | |
tree | 64c9af3f017abdf55e4b7f6da8e3f164a4c14bc7 /test/functional/rpc_txoutproof.py | |
parent | a79396fe5f8f81c78cf84117a87074c6ff6c9d95 (diff) |
scripted-diff: test: rename `FromHex` to `from_hex`
-BEGIN VERIFY SCRIPT-
sed -i 's/\<FromHex\>/from_hex/g' $(git grep -l FromHex)
-END VERIFY SCRIPT-
Co-authored-by: MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'test/functional/rpc_txoutproof.py')
-rwxr-xr-x | test/functional/rpc_txoutproof.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/rpc_txoutproof.py b/test/functional/rpc_txoutproof.py index 9afeeaff10..67af6b8f8e 100755 --- a/test/functional/rpc_txoutproof.py +++ b/test/functional/rpc_txoutproof.py @@ -7,7 +7,7 @@ from test_framework.blocktools import COINBASE_MATURITY from test_framework.messages import ( CMerkleBlock, - FromHex, + from_hex, ) from test_framework.test_framework import BitcoinTestFramework from test_framework.util import ( @@ -94,7 +94,7 @@ class MerkleBlockTest(BitcoinTestFramework): assert txid1 in self.nodes[0].verifytxoutproof(proof) assert txid2 in self.nodes[1].verifytxoutproof(proof) - tweaked_proof = FromHex(CMerkleBlock(), proof) + tweaked_proof = from_hex(CMerkleBlock(), proof) # Make sure that our serialization/deserialization is working assert txid1 in self.nodes[0].verifytxoutproof(tweaked_proof.serialize().hex()) |