netmode: use proper testnet magic number

Preview5 network used 'N3P5' as its magic, but the official testnet magic is
still 'NEOt', that's the way it's defined in neo-node, so use that.
This commit is contained in:
Roman Khimov 2021-03-19 11:24:47 +03:00
parent 53ab72cec0
commit c1b2a79cfe
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
ProtocolConfiguration:
Magic: 894448462
Magic: 1951352142
MaxTraceableBlocks: 2102400
SecondsPerBlock: 15
MemPoolSize: 50000

View file

@ -6,7 +6,7 @@ const (
// MainNet contains magic code used in the NEO main official network.
MainNet Magic = 0x004f454e // 5195086
// TestNet contains magic code used in the NEO testing network.
TestNet Magic = 0x3550334E // 894448462
TestNet Magic = 0x744f454e // 1951352142
// PrivNet contains magic code usually used for NEO private networks.
PrivNet Magic = 56753 // docker privnet
// UnitTestNet is a stub magic code used for testing purposes.