From 3cd881593ff702d4ab549c4c0667c4fc62e0a122 Mon Sep 17 00:00:00 2001 From: Wolfgang Welz <welzwo@gmail.com> Date: Tue, 30 Jul 2019 13:23:42 +0200 Subject: [PATCH] Fix: Adapt to changed NewKerl --- plugins/validator/plugin.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/validator/plugin.go b/plugins/validator/plugin.go index c0c7b64b..dce2129b 100644 --- a/plugins/validator/plugin.go +++ b/plugins/validator/plugin.go @@ -8,6 +8,7 @@ import ( "github.com/iotaledger/goshimmer/plugins/bundleprocessor" "github.com/iotaledger/iota.go/address" . "github.com/iotaledger/iota.go/consts" + "github.com/iotaledger/iota.go/kerl" "github.com/iotaledger/iota.go/signing" . "github.com/iotaledger/iota.go/trinary" ) @@ -62,7 +63,7 @@ func validateSignatures(bundleHash Hash, txs []*value_transaction.ValueTransacti } // 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 { return false, err } -- GitLab