Skip to content
Snippets Groups Projects
Commit 3cd88159 authored by Wolfgang Welz's avatar Wolfgang Welz
Browse files

Fix: Adapt to changed NewKerl

parent 428c66a0
No related branches found
No related tags found
No related merge requests found
...@@ -8,6 +8,7 @@ import ( ...@@ -8,6 +8,7 @@ import (
"github.com/iotaledger/goshimmer/plugins/bundleprocessor" "github.com/iotaledger/goshimmer/plugins/bundleprocessor"
"github.com/iotaledger/iota.go/address" "github.com/iotaledger/iota.go/address"
. "github.com/iotaledger/iota.go/consts" . "github.com/iotaledger/iota.go/consts"
"github.com/iotaledger/iota.go/kerl"
"github.com/iotaledger/iota.go/signing" "github.com/iotaledger/iota.go/signing"
. "github.com/iotaledger/iota.go/trinary" . "github.com/iotaledger/iota.go/trinary"
) )
...@@ -62,7 +63,7 @@ func validateSignatures(bundleHash Hash, txs []*value_transaction.ValueTransacti ...@@ -62,7 +63,7 @@ func validateSignatures(bundleHash Hash, txs []*value_transaction.ValueTransacti
} }
// validate all the fragments against the address using Kerl // validate all the fragments against the address using Kerl
valid, err := signing.ValidateSignatures(address, fragments, bundleHash, signing.NewKerl) valid, err := signing.ValidateSignatures(address, fragments, bundleHash, kerl.NewKerl())
if err != nil { if err != nil {
return false, err return false, err
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment