Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

chore: update Iterator APIs in StorageFindTest #86

Open
wants to merge 1 commit 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
6 changes: 3 additions & 3 deletions boa_test/example/blockchain/StorageFindTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ def Main(query):
items = []
keys = []
count = 0
while result_iter.IterNext():
val = result_iter.IterValue()
while IterNext(result_iter):
val = IterValue(result_iter)
items.append(val)
keys.append(result_iter.IterKey())
keys.append(IterKey(result_iter))
if query == 'pre' and count == 1:
break

Expand Down