Milestone 3: RPC server, ZIP-320 #104
2 changed files with 2 additions and 2 deletions
|
@ -107,6 +107,7 @@ import Zenith.Utils
|
|||
( displayTaz
|
||||
, displayZec
|
||||
, isRecipientValid
|
||||
, isRecipientValidGUI
|
||||
, jsonNumber
|
||||
, parseAddressUA
|
||||
, showAddress
|
||||
|
@ -1132,7 +1133,7 @@ appEvent (BT.VtyEvent e) = do
|
|||
fs <- BT.gets formState
|
||||
BT.modify $
|
||||
setFieldValid
|
||||
(isRecipientValid (fs ^. sendTo))
|
||||
(isRecipientValidGUI (fs ^. policyField) (fs ^. sendTo))
|
||||
RecField
|
||||
AdrBook -> do
|
||||
case e of
|
||||
|
|
|
@ -173,7 +173,6 @@ isRecipientValidGUI p a = do
|
|||
Exchange ea -> True
|
||||
_ -> False
|
||||
Nothing -> False
|
||||
|
||||
None -> case adr of
|
||||
Just a ->
|
||||
case a of
|
||||
|
|
Loading…
Reference in a new issue