Skip to content

Commit 226e888

Browse files
make checks
Signed-off-by: Said Altury <[email protected]>
1 parent de80172 commit 226e888

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

token/services/logging/types.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
1+
/*
2+
Copyright IBM Corp. All Rights Reserved.
3+
4+
SPDX-License-Identifier: Apache-2.0
5+
*/
16
package logging
27

38
import (
49
"fmt"
510
"strings"
11+
612
"github.com/hyperledger-labs/fabric-smart-client/platform/view/services/hash"
713
)
814

@@ -18,4 +24,4 @@ func (w walletID) String() string {
1824
return strings.ToValidUTF8(s, "X")
1925
}
2026
return fmt.Sprintf("%s~%s", strings.ToValidUTF8(s[:20], "X"), hash.Hashable(s).String())
21-
}
27+
}

0 commit comments

Comments
 (0)