From 65bd9b1b0d06ae69b70985f40fb5105e27479f64 Mon Sep 17 00:00:00 2001 From: Jeroen Peeters Date: Tue, 21 Aug 2018 10:10:53 +0200 Subject: [PATCH] chore: update Iterator APIs in StorageFindTest --- boa_test/example/blockchain/StorageFindTest.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/boa_test/example/blockchain/StorageFindTest.py b/boa_test/example/blockchain/StorageFindTest.py index 6eb3901..abc977b 100755 --- a/boa_test/example/blockchain/StorageFindTest.py +++ b/boa_test/example/blockchain/StorageFindTest.py @@ -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