on master help sign in
fix: remove ticket validation
926eaceMatt Condon (shrugs)
src/components/Inputs.js+1−5
@@ -139,11 +139,7 @@ export function useHdPathInput(props) {
139 );
139 );
140}
140}
141
141
142−const kTicketValidators = [
142+const kTicketValidators = [validateTicket, validateNotEmpty];
143− validateTicket,
144− validatePatpByteLength(8), // tickets are 8 bytes of patp
145− validateNotEmpty,
146−];
147//TODO needs to be fancier, displaying sig and dashes instead of •ing all
143//TODO needs to be fancier, displaying sig and dashes instead of •ing all
148const kTicketTransformers = [prependSig];
144const kTicketTransformers = [prependSig];
149export function useTicketInput({ validators = [], deriving = false, ...rest }) {
145export function useTicketInput({ validators = [], deriving = false, ...rest }) {