Update display name info for Canopy.
This commit is contained in:
parent
f8432e408d
commit
797ef8733a
|
@ -6,11 +6,13 @@ package cash.z.ecc.android.sdk.ext
|
|||
* printing that information to users.
|
||||
*/
|
||||
enum class ConsensusBranchId(val displayName: String, val id: Long, val hexId: String) {
|
||||
// TODO: see if we can find a way to not rely on this separate source of truth (either stop converting from hex to display name in the apps or use Rust to get this info)
|
||||
SPROUT("Sprout", 0, "0"),
|
||||
OVERWINTER("Overwinter", 0x5ba8_1b19, "5ba81b19"),
|
||||
SAPLING("Sapling", 0x76b8_09bb, "76b809bb"),
|
||||
BLOSSOM("Blossom", 0x2bb4_0e60, "2bb40e60"),
|
||||
HEARTWOOD("Heartwood", 0xf5b9_230b, "f5b9230b");
|
||||
HEARTWOOD("Heartwood", 0xf5b9_230b, "f5b9230b"),
|
||||
CANOPY("Canopy", 0xe9ff_75a6, "e9ff75a6");
|
||||
|
||||
override fun toString(): String = displayName
|
||||
|
||||
|
|
Loading…
Reference in New Issue