Fix typos in description.md and wallet_util.py

Signed-off-by: hanmz <hanmzarsenal@gmail.com>
This commit is contained in:
hanmz 2024-04-23 17:24:38 +08:00
parent 256e170319
commit 03e36b3da0
2 changed files with 2 additions and 2 deletions

View file

@ -11,7 +11,7 @@ on new hosts.
### No reliance on timestamps ### No reliance on timestamps
File presence is used to determine what needs to be built. This makes the File presence is used to determine what needs to be built. This makes the
results distributable and easily digestable by automated builders. results distributable and easily digestible by automated builders.
### Each build only has its specified dependencies available at build-time. ### Each build only has its specified dependencies available at build-time.

View file

@ -165,7 +165,7 @@ class WalletUnlock():
class TestFrameworkWalletUtil(unittest.TestCase): class TestFrameworkWalletUtil(unittest.TestCase):
def test_calculate_input_weight(self): def test_calculate_input_weight(self):
SKELETON_BYTES = 32 + 4 + 4 # prevout-txid, prevout-index, sequence SKELETON_BYTES = 32 + 4 + 4 # prevout-txid, prevout-index, sequence
SMALL_LEN_BYTES = 1 # bytes needed for encoding scriptSig / witness item lenghts < 253 SMALL_LEN_BYTES = 1 # bytes needed for encoding scriptSig / witness item lengths < 253
LARGE_LEN_BYTES = 3 # bytes needed for encoding scriptSig / witness item lengths >= 253 LARGE_LEN_BYTES = 3 # bytes needed for encoding scriptSig / witness item lengths >= 253
# empty scriptSig, no witness # empty scriptSig, no witness