Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Syntax error fixed: Accessed list with round brackets before #74

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pybitcoin/merkle.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def get(self, row_index, column_index):
# check to make sure there are enough rows
if row_index + 1 > len(self.rows):
raise ValueError("There aren't that many rows.")
row = self.rows(row_index)
row = self.rows[row_index]
# check to make sure there are enough items in the row
if column_index + 1 > len(row):
raise ValueError("There aren't that many items in that row.")
Expand Down