File tree Expand file tree Collapse file tree 3 files changed +8
-7
lines changed
Expand file tree Collapse file tree 3 files changed +8
-7
lines changed Original file line number Diff line number Diff line change 2121 "graphql" : " ^16.4.0" ,
2222 "graphql-request" : " ^3.4.0" ,
2323 "js-cookie" : " ^3.0.1" ,
24- "loopring36-block-parser2" : " ^0.0.4 " ,
24+ "loopring36-block-parser2" : " ^0.0.5 " ,
2525 "next" : " ^12.1.5" ,
2626 "numeral" : " ^2.0.6" ,
2727 "postcss-import" : " ^13.0.0" ,
Original file line number Diff line number Diff line change @@ -203,7 +203,7 @@ const convertTransactionData_Deposit = async (origin: any) => {
203203 }
204204}
205205const publickeyDecimalToHex128 = ( decimalPublicKey : string ) => {
206- const hex = BigNumber . from ( decimalPublicKey ) . toHexString ( )
206+ const hex = BigNumber . from ( decimalPublicKey ) . toHexString ( ) . slice ( 2 )
207207 const n = 64 - hex . length
208208 return '0' . repeat ( n ) + hex
209209}
@@ -215,7 +215,8 @@ const convertTransactionData_AccountUpdate = async (origin: any) => {
215215 user : {
216216 address : origin . owner ,
217217 id : origin . accountID ,
218- publicKey : publickeyDecimalToHex128 ( origin . publicKeyY )
218+ publicKey : origin . publicKey
219+ // publickeyDecimalToHex128(origin.publicKeyY)
219220 } ,
220221 feeToken : {
221222 decimals : feeTokenInfo . decimals ,
Original file line number Diff line number Diff line change @@ -6323,10 +6323,10 @@ log-update@^4.0.0:
63236323 slice-ansi "^4.0.0"
63246324 wrap-ansi "^6.2.0"
63256325
6326- loopring36-block-parser2@^0.0.4 :
6327- version "0.0.4 "
6328- resolved "https://registry.yarnpkg.com/loopring36-block-parser2/-/loopring36-block-parser2-0.0.4 .tgz#ef219cebc4b5a3dca4324ee1ed8d5b8b842be2e1 "
6329- integrity sha512-499vt7z/C51xTepjocsYlkALiYJD2W6YUlAFFcrit0Ke7yR/nA9itkfqUs5jsWA/I4iK+ISijfv/QLUARpTfYA ==
6326+ loopring36-block-parser2@^0.0.5 :
6327+ version "0.0.5 "
6328+ resolved "https://registry.yarnpkg.com/loopring36-block-parser2/-/loopring36-block-parser2-0.0.5 .tgz#2ef3310f32fcfcb971ecdb120571f99efe694796 "
6329+ integrity sha512-DhgGVOOOdblf+6iYwvo2EZ4l0hxyYbzsulB10tXfz+j7c4zNAUugGK+oxsQlImuqZDyyjzuzKSowCUKZaVt7ZQ ==
63306330 dependencies :
63316331 axios "^0.21.0"
63326332 bignumber.js "^9.1.1"
You can’t perform that action at this time.
0 commit comments