mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-02-01 03:12:15 +00:00
fix key constants
This commit is contained in:
parent
60725ce7d4
commit
ac56d0bf72
@ -328,7 +328,7 @@ impl LightClientConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn hrp_sapling_private_key(&self) -> &str {
|
pub fn hrp_sapling_private_key(&self) -> &str {
|
||||||
match &self.address_params.hrp_sapling_extended_full_viewing_key {
|
match &self.address_params.hrp_sapling_extended_spending_key {
|
||||||
Some(s) => s,
|
Some(s) => s,
|
||||||
None =>
|
None =>
|
||||||
match &self.chain_name[..] {
|
match &self.chain_name[..] {
|
||||||
@ -341,7 +341,7 @@ impl LightClientConfig {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn hrp_sapling_viewing_key(&self) -> &str {
|
pub fn hrp_sapling_viewing_key(&self) -> &str {
|
||||||
match &self.address_params.hrp_sapling_extended_spending_key {
|
match &self.address_params.hrp_sapling_extended_full_viewing_key {
|
||||||
Some(s) => s,
|
Some(s) => s,
|
||||||
None =>
|
None =>
|
||||||
match &self.chain_name[..] {
|
match &self.chain_name[..] {
|
||||||
|
Loading…
Reference in New Issue
Block a user