Skip to content

Commit ec7773b

Browse files
committed
lint fix
Signed-off-by: Angelo De Caro <angelo.decaro@gmail.com>
1 parent e723fcd commit ec7773b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

integration/token/fungible/support.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1408,7 +1408,7 @@ func BindIssuerNetworkAndSigningIdentities(network *integration.Infrastructure,
14081408
Alias: issuerPublicKey, // issuer's public key for the token issuance
14091409
}))
14101410

1411-
Expect(err).NotTo(HaveOccurred())
1411+
gomega.Expect(err).NotTo(gomega.HaveOccurred())
14121412
}
14131413
}
14141414
}

token/sdk/vault/vault.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ type CertificationStorage struct {
8484
}
8585

8686
func (t *CertificationStorage) Exists(id *token.ID) bool {
87-
return t.StoreService.ExistsCertification(id)
87+
return t.ExistsCertification(id)
8888
}
8989

9090
func (t *CertificationStorage) Store(certifications map[*token.ID][]byte) error {
91-
return t.StoreService.StoreCertifications(certifications)
91+
return t.StoreCertifications(certifications)
9292
}

token/services/tokendb/db.go

Whitespace-only changes.

token/services/tokendb/store.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ type StoreService struct {
6161
}
6262

6363
func (d *StoreService) NewTransaction() (*Transaction, error) {
64-
tx, err := d.TokenStore.NewTokenDBTransaction()
64+
tx, err := d.NewTokenDBTransaction()
6565
if err != nil {
6666
return nil, err
6767
}

0 commit comments

Comments
 (0)