From dcc7f51d063a2e7f0daaef1a583deeb340ff00c9 Mon Sep 17 00:00:00 2001 From: Richard Kiss Date: Wed, 6 Dec 2023 21:09:13 -0800 Subject: [PATCH] typos --- CHANGES | 2 +- pycoin/cmds/tx.py | 2 +- pycoin/contrib/msg_signing.py | 2 +- tests/btc/data/script_tests.json | 2 +- tests/ecdsa/libsecp256k1_test.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGES b/CHANGES index a4bf673a6..30d7b7ebf 100644 --- a/CHANGES +++ b/CHANGES @@ -107,7 +107,7 @@ Version 0.75 * move messages.py to messages module * add electrum key support to ku tool * add bloomfilter.py -* add recipies for multisig +* add recipes for multisig Version 0.70 ------------ diff --git a/pycoin/cmds/tx.py b/pycoin/cmds/tx.py index 07d034feb..9c16578de 100755 --- a/pycoin/cmds/tx.py +++ b/pycoin/cmds/tx.py @@ -187,7 +187,7 @@ def create_parser(): help='URL to bitcoind instance to validate against (http://user:pass@host:port).') parser.add_argument('-o', "--output-file", metavar="path-to-output-file", type=argparse.FileType('wb'), - help='file to write transaction to. This supresses most other output.') + help='file to write transaction to. This suppresses most other output.') parser.add_argument('-d', "--disassemble", action='store_true', help='Disassemble scripts.') diff --git a/pycoin/contrib/msg_signing.py b/pycoin/contrib/msg_signing.py index bfe258729..ca9034977 100644 --- a/pycoin/contrib/msg_signing.py +++ b/pycoin/contrib/msg_signing.py @@ -38,7 +38,7 @@ def parse_sections(class_, msg_in): # trim any junk in front _, body = msg_in.split('SIGNED MESSAGE-----\n', 1) except ValueError: - raise EncodingError("expecting text SIGNED MESSSAGE somewhere") + raise EncodingError("expecting text SIGNED MESSAGE somewhere") # - sometimes middle sep is BEGIN BITCOIN SIGNATURE, other times just BEGIN SIGNATURE # - choose the last instance, in case someone signs a signed message diff --git a/tests/btc/data/script_tests.json b/tests/btc/data/script_tests.json index 849dbf663..bb1a540f1 100644 --- a/tests/btc/data/script_tests.json +++ b/tests/btc/data/script_tests.json @@ -678,7 +678,7 @@ ["0 0x02 0x0000 0", "CHECKMULTISIGVERIFY 1", "", "OK"], ["While not really correctly DER encoded, the empty signature is allowed by"], -["STRICTENC to provide a compact way to provide a delibrately invalid signature."], +["STRICTENC to provide a compact way to provide a deliberately invalid signature."], ["0", "0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 CHECKSIG NOT", "STRICTENC", "OK"], ["0 0", "1 0x21 0x02865c40293a680cb9c020e7b1e106d8c1916d3cef99aa431a56d253e69256dac0 1 CHECKMULTISIG NOT", "STRICTENC", "OK"], diff --git a/tests/ecdsa/libsecp256k1_test.py b/tests/ecdsa/libsecp256k1_test.py index b17d93467..25fb9f690 100644 --- a/tests/ecdsa/libsecp256k1_test.py +++ b/tests/ecdsa/libsecp256k1_test.py @@ -31,7 +31,7 @@ def test_multiply_by_group_generator(self): 27657251006027960104028534670901169416706551781681983309292004861017889370444) ) - def test_sign_verify_mutual_compatability(self): + def test_sign_verify_mutual_compatibility(self): if libsecp256k1 is None: raise unittest.SkipTest("no libsecp256k1") ctx = libsecp256k1.ctx