Rename to `ZcashdUnifiedSpendingKey::GetSaplingKey` for consistency

This commit is contained in:
Jack Grigg 2022-02-21 14:26:16 +00:00
parent c2a47b8d97
commit d099e469e1
2 changed files with 2 additions and 2 deletions

View File

@ -554,7 +554,7 @@ std::optional<libzcash::ZcashdUnifiedSpendingKey>
);
// Add the Sapling spending key to the wallet
auto saplingEsk = usk.value().GetSaplingExtendedSpendingKey();
auto saplingEsk = usk.value().GetSaplingKey();
if (addSaplingKey(saplingEsk) == KeyNotAdded) {
// 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.");

View File

@ -264,7 +264,7 @@ public:
return transparentKey;
}
const SaplingExtendedSpendingKey& GetSaplingExtendedSpendingKey() const {
const SaplingExtendedSpendingKey& GetSaplingKey() const {
return saplingKey;
}