forked from TrueCloudLab/neoneo-go
vm: use Application trigger by default
Don't mess with System, it's too powerful to be the default.
This commit is contained in:
parent
2924ecd453
commit
2522271161
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue