@@ -302,7 +302,7 @@ export default function VoterTable(props: VoterTableProps) {
302302 const addr = row . address . trim ( ) . toLowerCase ( ) ;
303303
304304 if (
305- ! isAddress ( row . address . trim ( ) ) ||
305+ ! isAddress ( row . address . trim ( ) , { strict : false } ) ||
306306 ! isValidVotes ( row . votes ) ||
307307 existingOnchainSet . has ( addr ) ||
308308 seen . has ( addr )
@@ -331,7 +331,7 @@ export default function VoterTable(props: VoterTableProps) {
331331 continue ;
332332 }
333333
334- if ( ! isAddress ( address ) ) {
334+ if ( ! isAddress ( address , { strict : false } ) ) {
335335 errors [ row . id ] = "Invalid address" ;
336336 } else if ( existingOnchainSet . has ( addr ) ) {
337337 errors [ row . id ] = "Already a voter" ;
@@ -341,7 +341,7 @@ export default function VoterTable(props: VoterTableProps) {
341341 errors [ row . id ] = "Votes must be 1–1M" ;
342342 }
343343
344- if ( isAddress ( address ) ) {
344+ if ( isAddress ( address , { strict : false } ) ) {
345345 seen . add ( addr ) ;
346346 }
347347 }
@@ -654,7 +654,7 @@ export default function VoterTable(props: VoterTableProps) {
654654 // so a paused/failed queue never resets the council-wide spread.
655655 const entries = [
656656 ...validNewRows . map ( ( row ) => ( {
657- account : row . address as Address ,
657+ account : row . address . toLowerCase ( ) as Address ,
658658 votingPower : BigInt ( row . votes ) ,
659659 votes : [ ] as [ ] ,
660660 } ) ) ,
0 commit comments