File tree Expand file tree Collapse file tree
pagePartials/bridgeExplorer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -145,10 +145,15 @@ export const ClaimButton = ({
145145 if ( transaction . bridgeName . toUpperCase ( ) === 'XDAI' ) {
146146 // XDAI Bridge
147147 // recover message and signatures
148+ // console.log('transaction', transaction)
149+ const modifiedId = transaction . id . startsWith ( '0x00000064' )
150+ ? '0x00000000' + transaction . id . substring ( 10 )
151+ : transaction . transactionHash
152+
148153 const messageHash = await erc20ToNativeBridgeHelper . getMessageHash (
149154 transaction . receiver ,
150155 transaction . receiverAmount ,
151- transaction . transactionHash ,
156+ modifiedId ,
152157 )
153158 const [ message , signatures ] = await Promise . all ( [
154159 erc20ToNativeBridgeHelper . getMessage ( messageHash ) ,
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ interface Props {
1717}
1818
1919export const Validations : React . FC < Props > = ( { fetchValidatorName, validations } ) => {
20- console . log ( 'validations' , validations )
2120 return (
2221 < Wrapper >
2322 { validations . map ( ( validation : TransactionValidation , index ) => {
Original file line number Diff line number Diff line change @@ -142,9 +142,6 @@ const fetchHomeTransaction = async (query?: QueryTransactionsArgs) => {
142142 let transactions : TransactionsQuery [ 'transactions' ] = [ ]
143143 let shouldIterate = true
144144
145- console . log ( 'TRANSACTION_QUERY' , TRANSACTION_QUERY )
146- console . log ( 'query' , query )
147-
148145 while ( shouldIterate ) {
149146 const { transactions : newTransactions } = await getHomeGraphqlClient ( ) <
150147 TransactionsQuery ,
@@ -262,8 +259,6 @@ export const fetchTransactions = async (
262259 foreignTxs as TransactionSG [ ] ,
263260 )
264261
265- console . log ( 'transactions' , transactions )
266-
267262 if ( inMemoryFilters . validator ) {
268263 transactions = transactions
269264 . filter ( ( tx ) => tx . validations )
You can’t perform that action at this time.
0 commit comments