Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
[CBR-398] Clarifying rationale behind redemptionSpendingPassword in t…
Browse files Browse the repository at this point in the history
…he comment
  • Loading branch information
paweljakubas committed Sep 3, 2018
1 parent 554647a commit 33c3970
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions wallet-new/integration/AccountSpecs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,9 @@ accountSpecs wRef wc =

-- state-demo/genesis-keys/keys-fakeavvm/fake-9.seed
let avvmKey = "QBYOctbb6fJT/dBDLwg4je+SAvEzEhRxA7wpLdEFhnY="
--password is set to Nothing
--passPhrase <- generate (pure mempty) :: IO SpendingPassword

--password is set to Nothing in the current implementation of randomWallet
--when it changes redemptionSpendingPassword handles it, otherwise passPhare addresses it
passPhrase <- pure mempty :: IO SpendingPassword
let redemption = Redemption
{ redemptionRedemptionCode = ShieldedRedemptionCode avvmKey
Expand Down

0 comments on commit 33c3970

Please sign in to comment.