diff --git a/pkg/core/native/native_test/oracle_test.go b/pkg/core/native/native_test/oracle_test.go index 754add6d1..bc51d6de9 100644 --- a/pkg/core/native/native_test/oracle_test.go +++ b/pkg/core/native/native_test/oracle_test.go @@ -15,7 +15,6 @@ import ( "github.com/nspcc-dev/neo-go/pkg/core/transaction" "github.com/nspcc-dev/neo-go/pkg/crypto/keys" "github.com/nspcc-dev/neo-go/pkg/neotest" - "github.com/nspcc-dev/neo-go/pkg/smartcontract" "github.com/nspcc-dev/neo-go/pkg/vm/stackitem" "github.com/stretchr/testify/require" ) @@ -79,8 +78,7 @@ func TestOracle_Request(t *testing.T) { // Finish. prepareResponseTx := func(t *testing.T, requestID uint64) *transaction.Transaction { - script, err := smartcontract.CreateCallScript(oracleCommitteeInvoker.Hash, "finish") - require.NoError(t, err) + script := native.CreateOracleResponseScript(oracleCommitteeInvoker.Hash) tx := transaction.New(script, 1000_0000) tx.Nonce = neotest.Nonce()