github.com/nspcc-dev/neo-go@v0.105.2-0.20240517133400-6be757af3eba/pkg/compiler/testdata/block/block.go (about)

     1  package block
     2  
     3  // Block is opaque type.
     4  type Block struct{}
     5  
     6  // GetTransactionCount is a mirror of `GetTransactionCount` interop.
     7  func GetTransactionCount(b Block) int {
     8  	return 42
     9  }