Bip32KeyNetVersions constructor

Bip32KeyNetVersions(
  1. List<int> pubNetVer,
  2. List<int> privNetVer
)

constractur for Bip32KeyNetVersions

Implementation

Bip32KeyNetVersions(List<int> pubNetVer, List<int> privNetVer) {
  if (pubNetVer.length != length || privNetVer.length != length) {
    throw ArgumentException("Invalid key net version length");
  }

  _pubNetVer = pubNetVer;
  _privNetVer = privNetVer;
}