Skip to content

Commit

Permalink
cleanup due to rebase
Browse files Browse the repository at this point in the history
Signed-off-by: Angelo De Caro <[email protected]>
  • Loading branch information
adecaro committed Feb 10, 2025
1 parent 2118c15 commit f088def
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 6 deletions.
3 changes: 2 additions & 1 deletion token/core/common/backend.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (

"github.com/hyperledger-labs/fabric-token-sdk/token/driver"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/logging"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/utils"
"github.com/hyperledger-labs/fabric-token-sdk/token/token"
"github.com/pkg/errors"
)
Expand Down Expand Up @@ -41,7 +42,7 @@ func (b *Backend) HasBeenSignedBy(id driver.Identity, verifier driver.Verifier)
b.Cursor++

// if b.Logger.IsEnabledFor(zapcore.DebugLevel) {
b.Logger.Infof("verify signature [%s][%s][%s]", id, base64.StdEncoding.EncodeToString(sigma), Hashable(b.Message))
b.Logger.Infof("verify signature [%s][%s][%s]", id, base64.StdEncoding.EncodeToString(sigma), utils.Hashable(b.Message))
// }
return sigma, verifier.Verify(b.Message, sigma)
}
Expand Down
1 change: 0 additions & 1 deletion token/core/common/validator.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (

"github.com/hyperledger-labs/fabric-token-sdk/token/driver"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/logging"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/utils"
"github.com/pkg/errors"
)

Expand Down
1 change: 0 additions & 1 deletion token/core/fabtoken/driver/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package driver

import (
"github.com/hyperledger-labs/fabric-token-sdk/token/core"
"github.com/hyperledger-labs/fabric-token-sdk/token/core/common"
"github.com/hyperledger-labs/fabric-token-sdk/token/core/fabtoken"
"github.com/hyperledger-labs/fabric-token-sdk/token/driver"
"github.com/hyperledger-labs/fabric-token-sdk/token/services/identity"
Expand Down
4 changes: 1 addition & 3 deletions token/core/zkatdlog/nogh/driver/base.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ SPDX-License-Identifier: Apache-2.0
package driver

import (
view3 "github.com/hyperledger-labs/fabric-smart-client/platform/view/view"
"github.com/hyperledger-labs/fabric-token-sdk/token/core"
"github.com/hyperledger-labs/fabric-token-sdk/token/core/common"
"github.com/hyperledger-labs/fabric-smart-client/platform/view/view"
"github.com/hyperledger-labs/fabric-token-sdk/token/core"
"github.com/hyperledger-labs/fabric-token-sdk/token/core/zkatdlog/crypto"
"github.com/hyperledger-labs/fabric-token-sdk/token/core/zkatdlog/crypto/validator"
"github.com/hyperledger-labs/fabric-token-sdk/token/driver"
Expand Down

0 comments on commit f088def

Please sign in to comment.