Skip to content

Commit 17220c6

Browse files
committed
Edited code-ch09/helper.py with Atlas code editor
1 parent 7d48851 commit 17220c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code-ch09/helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ def bits_to_target(bits):
134134

135135
# tag::source1[]
136136
def target_to_bits(target):
137-
'''Turns a target integer back into bits, which is 4 bytes'''
137+
'''Turns a target integer back into bits'''
138138
raw_bytes = target.to_bytes(32, 'big')
139139
raw_bytes = raw_bytes.lstrip(b'\x00') # <1>
140140
if raw_bytes[0] > 0x7f: # <2>

0 commit comments

Comments
 (0)