Closed devhawk closed 2 years ago
ProtocolSettings in Neo C# project sets the default address version to hex value 0x35 which is 53 in decimal
ProtocolSettings
0x35
public static ProtocolSettings Default { get; } = new ProtocolSettings { Network = 0x334F454Eu, AddressVersion = 0x35, // remaining initialization code omitted
Neon.JS appears to be using 23 as the default instead of 53:
https://github.com/CityOfZion/neon-js/blob/0ee44d4b33a8ce5ae7b46d78c58c8a62c7e96900/packages/neon-core/src/rpc/Protocol.ts#L43
that's definitely a NEO2 leftover https://github.com/neo-project/neo/blob/0b6526e8df49004fc7c069982084b7f0bcb44f6f/neo/ProtocolSettings.cs#L53
ProtocolSettings
in Neo C# project sets the default address version to hex value0x35
which is 53 in decimalNeon.JS appears to be using 23 as the default instead of 53:
https://github.com/CityOfZion/neon-js/blob/0ee44d4b33a8ce5ae7b46d78c58c8a62c7e96900/packages/neon-core/src/rpc/Protocol.ts#L43