Rename to `ZcashdUnifiedSpendingKey::GetSaplingKey` for consistency
This commit is contained in:
parent
c2a47b8d97
commit
d099e469e1
|
@ -554,7 +554,7 @@ std::optional<libzcash::ZcashdUnifiedSpendingKey>
|
||||||
);
|
);
|
||||||
|
|
||||||
// Add the Sapling spending key to the wallet
|
// Add the Sapling spending key to the wallet
|
||||||
auto saplingEsk = usk.value().GetSaplingExtendedSpendingKey();
|
auto saplingEsk = usk.value().GetSaplingKey();
|
||||||
if (addSaplingKey(saplingEsk) == KeyNotAdded) {
|
if (addSaplingKey(saplingEsk) == KeyNotAdded) {
|
||||||
// If adding the Sapling key to the wallet failed, abort the process.
|
// If adding the Sapling key to the wallet failed, abort the process.
|
||||||
throw std::runtime_error("CWalletDB::GenerateUnifiedSpendingKeyForAccount(): Unable to add Sapling spending key to the wallet.");
|
throw std::runtime_error("CWalletDB::GenerateUnifiedSpendingKeyForAccount(): Unable to add Sapling spending key to the wallet.");
|
||||||
|
|
|
@ -264,7 +264,7 @@ public:
|
||||||
return transparentKey;
|
return transparentKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
const SaplingExtendedSpendingKey& GetSaplingExtendedSpendingKey() const {
|
const SaplingExtendedSpendingKey& GetSaplingKey() const {
|
||||||
return saplingKey;
|
return saplingKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue