diff --git a/pkg/core/helper_test.go b/pkg/core/helper_test.go index 460735c31..575f3d038 100644 --- a/pkg/core/helper_test.go +++ b/pkg/core/helper_test.go @@ -14,7 +14,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/core/storage" "github.com/nspcc-dev/neo-go/pkg/core/transaction" "github.com/nspcc-dev/neo-go/pkg/crypto/hash" - "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/nspcc-dev/neo-go/pkg/internal/testchain" "github.com/nspcc-dev/neo-go/pkg/internal/testserdes" "github.com/nspcc-dev/neo-go/pkg/io" @@ -141,13 +140,6 @@ func newDumbBlock() *block.Block { } } -func getInvocationScript(data []byte, priv *keys.PrivateKey) []byte { - signature := priv.Sign(data) - buf := io.NewBufBinWriter() - emit.Bytes(buf.BinWriter, signature) - return buf.Bytes() -} - // This function generates "../rpc/testdata/testblocks.acc" file which contains data // for RPC unit tests. It also is a nice integration test. // To generate new "../rpc/testdata/testblocks.acc", follow the steps: