mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-23 23:25:22 +00:00
ed45ff98e3
Closes #913. Provide package info in the funcScope to check if function is defined insided an interop package. As a good side-effect bytecode for builtins from `util` is no longer emitted. Related #941.
9 lines
183 B
Go
9 lines
183 B
Go
package block
|
|
|
|
// Block is opaque type.
|
|
type Block struct{}
|
|
|
|
// GetTransactionCount is a mirror of `GetTransactionCount` interop.
|
|
func GetTransactionCount(b Block) int {
|
|
return 42
|
|
}
|