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

Commit 8d12ffb

Browse files
committed
FAB-5344 Provide common handling for Seek
PS 5: fix Envelop->Envelope in test code Change-Id: Iaa0d35c72c204a1c67452bc3fe4e7d7e0507d2cc Signed-off-by: rickr <cr22rc@gmail.com>
1 parent 45080c2 commit 8d12ffb

File tree

5 files changed

+150
-203
lines changed

5 files changed

+150
-203
lines changed

src/main/java/org/hyperledger/fabric/sdk/BlockEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ EventHub getEventHub() {
7777

7878
List<TransactionEvent> getTransactionEventsList() {
7979

80-
ArrayList<TransactionEvent> ret = new ArrayList<TransactionEvent>(getEnvelopCount());
80+
ArrayList<TransactionEvent> ret = new ArrayList<TransactionEvent>(getEnvelopeCount());
8181
for (TransactionEvent transactionEvent : getTransactionEvents()) {
8282
ret.add(transactionEvent);
8383
}
@@ -97,7 +97,7 @@ class TransactionEventIterator implements Iterator<TransactionEvent> {
9797
final int max;
9898

9999
TransactionEventIterator() {
100-
max = getEnvelopCount();
100+
max = getEnvelopeCount();
101101

102102
}
103103

src/main/java/org/hyperledger/fabric/sdk/BlockInfo.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,12 @@ public long getBlockNumber() {
8181
}
8282

8383
/**
84-
* getEnvelopCount
84+
* getEnvelopeCount
8585
*
8686
* @return the number of transactions in this block.
8787
*/
8888

89-
public int getEnvelopCount() {
89+
public int getEnvelopeCount() {
9090
return block.getData().getDataCount();
9191
}
9292

0 commit comments

Comments
 (0)