novitski / bitcoinj

Automatically exported from code.google.com/p/bitcoinj
Apache License 2.0
0 stars 0 forks source link

ID_MAINNET/ID_PRODNET mismatch #430

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In NetworkParameters, still both constants are defined separately. If you 
search for references, sometimes the first, sometimes the second is used.

I propose to get rid of ID_PRODNET. If you want to keep it for backwards 
compatibility (why?), define it like this

public static final String ID_PRODNET = ID_MAINNET;

This way, its really the same object.

Also, mark it as deprecated and don't use it in the framework itself.

Original issue reported on code.google.com by andreas....@gmail.com on 12 Jul 2013 at 8:51

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 2acbd55d47b6.

Original comment by hearn@google.com on 22 Jul 2013 at 4:12