forked from TrueCloudLab/neoneo-go
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
|
|
}
|