parent
c5e39dfabf
commit
1cf1fe5d74
32 changed files with 320 additions and 304 deletions
|
@ -29,7 +29,7 @@ func (s *MethodCallback) ArgCount() int {
|
|||
func (s *MethodCallback) LoadContext(v *vm.VM, args []stackitem.Item) {
|
||||
v.Estack().PushVal(args)
|
||||
v.Estack().PushVal(s.method.Name)
|
||||
v.Estack().PushVal(s.contract.ScriptHash().BytesBE())
|
||||
v.Estack().PushVal(s.contract.Hash.BytesBE())
|
||||
}
|
||||
|
||||
// CreateFromMethod creates callback for a contract method.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue