Parcourir la source

print withdraw_task error 参数3

DevYK il y a 2 ans
Parent
commit
f26b5e8c7f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      routes/sdk.js

+ 1 - 1
routes/sdk.js

@@ -322,7 +322,7 @@ async function withdraw_task() {
 
                     var value = 0
                     try {
-                        if (obj.data.chainId == 97) {
+                        if (obj.data.chainId == 97 || obj.data.chainId == 56) {
                             value = BigNumber(obj.data.value.hex).toNumber()
                         } else {
                             value = obj.data.value.number