Sapling Spending keys and receivers #27

Merged
pitmutt merged 12 commits from rvv040 into dev040 2024-03-10 15:07:10 +00:00
Showing only changes of commit 1e795dbcea - Show all commits

View file

@ -104,8 +104,7 @@ genSaplingSpendingKey seed = do
res = withPureBorshVarBuffer (rustWrapperSaplingSpendingkey seed) res = withPureBorshVarBuffer (rustWrapperSaplingSpendingkey seed)
-- --
-- | Attempts to generate a sapling Payment Address using an ExtendedSpendingKey -- | Attempts to generate a sapling Payment Address using an ExtendedSpendingKey and a Diversifier Index
-- | and a Diversifier Index
genSaplingPaymentAddress :: SaplingSpendingKey -> Int -> Maybe SaplingReceiver genSaplingPaymentAddress :: SaplingSpendingKey -> Int -> Maybe SaplingReceiver
genSaplingPaymentAddress extspk i = genSaplingPaymentAddress extspk i =
if BS.length res == 43 if BS.length res == 43