Implement Account creation #68

Merged
pitmutt merged 257 commits from rav001 into dev041 2024-03-01 20:59:58 +00:00
Showing only changes of commit c5b7714917 - Show all commits

View file

@ -1491,9 +1491,6 @@ refreshAddressBook s = do
L.listSelectedElement $ L.listMoveToBeginning $ s ^. abAddresses L.listSelectedElement $ L.listMoveToBeginning $ s ^. abAddresses
return fAdd return fAdd
Just a2 -> return $ Just a2 Just a2 -> return $ Just a2
case selAddress of
Nothing -> return s
Just (_i, a) -> do
abookList <- getAdrBook pool (s ^. network) abookList <- getAdrBook pool (s ^. network)
let tL' = L.listReplace (Vec.fromList abookList) (Just 0) (s ^. abAddresses) let tL' = L.listReplace (Vec.fromList abookList) (Just 0) (s ^. abAddresses)
return $ s & abAddresses .~ tL' return $ s & abAddresses .~ tL'