From 2522271161bb48389d5e9b21367745cbcfe23c1b Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Thu, 29 Oct 2020 19:11:47 +0300 Subject: [PATCH] vm: use Application trigger by default Don't mess with System, it's too powerful to be the default. --- pkg/vm/vm.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/vm/vm.go b/pkg/vm/vm.go index a39c27365..a986cd17c 100644 --- a/pkg/vm/vm.go +++ b/pkg/vm/vm.go @@ -87,7 +87,7 @@ type VM struct { // New returns a new VM object ready to load AVM bytecode scripts. func New() *VM { - return NewWithTrigger(trigger.System) + return NewWithTrigger(trigger.Application) } // NewWithTrigger returns a new VM for executions triggered by t.