From 286d9843df60cd20ab78b33ea81d8ad0ae474e4a Mon Sep 17 00:00:00 2001 From: Jorge Rego Date: Wed, 18 May 2022 17:20:27 +0200 Subject: [PATCH] Fixed typo in CryptoCoin info key according to: https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-007-hdkey.md#cddl-for-coin-info This is not a big deal in order to convert from/to CBOR but in terms of different platform compatibility, this will cause issues when trying to import an UR string from a different source. --- .../com/sparrowwallet/hummingbird/registry/RegistryType.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/sparrowwallet/hummingbird/registry/RegistryType.java b/src/main/java/com/sparrowwallet/hummingbird/registry/RegistryType.java index 41645c5..5e143a4 100644 --- a/src/main/java/com/sparrowwallet/hummingbird/registry/RegistryType.java +++ b/src/main/java/com/sparrowwallet/hummingbird/registry/RegistryType.java @@ -16,7 +16,7 @@ public enum RegistryType { CRYPTO_BIP39("crypto-bip39", 301, CryptoBip39.class), CRYPTO_HDKEY("crypto-hdkey", 303, CryptoHDKey.class), CRYPTO_KEYPATH("crypto-keypath", 304, CryptoKeypath.class), - CRYPTO_COIN_INFO("crypto-coin-info", 305, CryptoCoinInfo.class), + CRYPTO_COIN_INFO("crypto-coininfo", 305, CryptoCoinInfo.class), CRYPTO_ECKEY("crypto-eckey", 306, CryptoECKey.class), CRYPTO_ADDRESS("crypto-address", 307, CryptoAddress.class), CRYPTO_OUTPUT("crypto-output", 308, CryptoOutput.class),