opt: 代码优化

This commit is contained in:
orz12
2024-01-15 00:59:19 +08:00
parent 0cc25203b1
commit 6654094480
5 changed files with 6 additions and 6 deletions

View File

@ -80,7 +80,7 @@ class WbiSign {
String getMixinKey(String orig) {
String temp = '';
for (int i = 0; i < mixinKeyEncTab.length; i++) {
temp += orig.split('')[mixinKeyEncTab[i] as int];
temp += orig.split('')[mixinKeyEncTab[i]];
}
return temp.substring(0, 32);
}