forked from TrueCloudLab/neoneo-go
b483c38593
We make it explicit in the appropriate Block/Transaction structures, not via a singleton as C# node does. I think this approach has a bit more potential and allows better packages reuse for different purposes.
8 lines
191 B
Go
8 lines
191 B
Go
package testchain
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/config/netmode"
|
|
|
|
// Network returns test chain network's magic number.
|
|
func Network() netmode.Magic {
|
|
return netmode.UnitTestNet
|
|
}
|