Skip to content

Commit e18224a

Browse files
author
Roman
committed
review fix
1 parent 935b3c6 commit e18224a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bittensor/core/chain_data/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,11 +159,11 @@ def scale_decode_offset(data: bytes) -> int:
159159
return 4
160160

161161
v = next(iter(value))
162-
reveled_block = v[1]
162+
revealed_block = v[1]
163163
cut = scale_decode_offset(v[0])
164164

165-
reveled_commitment = bytes(v[0][cut:]).decode("utf-8", errors="ignore")
166-
return reveled_block, reveled_commitment
165+
revealed_commitment = bytes(v[0][cut:]).decode("utf-8", errors="ignore")
166+
return revealed_block, revealed_commitment
167167

168168

169169
def decode_revealed_commitment_with_hotkey(data: list) -> dict[str, tuple[int, str]]:

0 commit comments

Comments
 (0)