forked from Qortal/qortal
Use *ACCT*.class.getSimpleName() for less error-prone ACCT.NAME
This commit is contained in:
parent
27783dc6de
commit
d43a074cc1
@ -100,7 +100,7 @@ import com.google.common.primitives.Bytes;
|
||||
*/
|
||||
public class BitcoinACCTv1 implements ACCT {
|
||||
|
||||
public static final String NAME = "BitcoinACCTv1";
|
||||
public static final String NAME = BitcoinACCTv1.class.getSimpleName();
|
||||
public static final byte[] CODE_BYTES_HASH = HashCode.fromString("f7f419522a9aaa3c671149878f8c1374dfc59d4fd86ca43ff2a4d913cfbc9e89").asBytes(); // SHA256 of AT code bytes
|
||||
|
||||
public static final int SECRET_LENGTH = 32;
|
||||
|
@ -89,7 +89,7 @@ import com.google.common.primitives.Bytes;
|
||||
*/
|
||||
public class LitecoinACCTv1 implements ACCT {
|
||||
|
||||
public static final String NAME = "LitcoinACCTv1";
|
||||
public static final String NAME = LitecoinACCTv1.class.getSimpleName();
|
||||
public static final byte[] CODE_BYTES_HASH = HashCode.fromString("0fb15ad9ad1867dfbcafa51155481aa15d984ff9506f2b428eca4e2a2feac2b3").asBytes(); // SHA256 of AT code bytes
|
||||
|
||||
public static final int SECRET_LENGTH = 32;
|
||||
|
Loading…
Reference in New Issue
Block a user