Skip to content

Commit 2f2a158

Browse files
committed
Add improvements
Signed-off-by: AkramBitar <akram@il.ibm.com>
1 parent 83f3573 commit 2f2a158

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

token/services/ttx/collectendorsements.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func (c *CollectEndorsementsView) Call(context view.Context) (interface{}, error
8484
metrics := GetMetrics(context)
8585

8686
externalWallets := make(map[string]ExternalWalletSigner)
87-
87+
8888
// Ensure Done() is called on all external wallets regardless of errors
8989
defer c.CleanupExternalWallets(context, externalWallets)
9090

token/services/ttx/collectendorsements_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,3 @@ func TestCleanupExternalWallets_EmptyMap(t *testing.T) {
126126
// Should not panic with empty map
127127
view.CleanupExternalWallets(ctx, externalWallets)
128128
}
129-

0 commit comments

Comments
 (0)