-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Description
Reference: #321
Should the interfaces ECPair.fromWIF and HDNode.fromBase58 always require a network parameter?
We could use auto-detect based on the version flag, but there comes up the problem that networks recently added to the network constants have duplicate constants that would mean auto detection may be misleading for those unaware.
In this sense, it is considered harmful in its current state, where the bitcoin default can regularly throw off users (especially with .getAddress() in <2.0.0) and the auto detect can cause incredibly difficult-to-trace bugs.