Skip to content

Commit

Permalink
feat(log): fix math log output
Browse files Browse the repository at this point in the history
  • Loading branch information
halibobo1205 committed Jul 17, 2024
1 parent cb47998 commit 7fd01b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chainbase/src/main/java/org/tron/common/math/Maths.java
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ public static double pow(double a, double b) {
byte[] key = Bytes.concat(longToBytes(h), new byte[]{Op.POW.code},
doubleToBytes(a), doubleToBytes(b));
if (isNoStrict) {
logger.info("{}/t{}/t/{}/{}/{}/{}", h, Op.POW.code, doubleToHex(a), doubleToHex(b),
logger.info("{}\t{}\t{}\t{}\t{}\t{}", h, Op.POW.code, doubleToHex(a), doubleToHex(b),
doubleToHex(result), doubleToHex(strictResult));
}
mathStore.ifPresent(s -> s.put(key, doubleToBytes(result)));
Expand Down

0 comments on commit 7fd01b4

Please sign in to comment.