Skip to content

Commit 380ca5c

Browse files
author
wubin1
committed
fix unit test
1 parent 7b69ec9 commit 380ca5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

framework/src/test/java/org/tron/core/zksnark/SendCoinShieldTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
package org.tron.core.zksnark;
22

3+
import static org.tron.core.capsule.TransactionCapsule.getShieldTransactionHashIgnoreTypeException;
4+
35
import com.alibaba.fastjson.JSONArray;
46
import com.google.common.base.Charsets;
57
import com.google.common.io.Files;
@@ -655,7 +657,7 @@ public void checkZksnark() throws BadItemException, ZksnarkException {
655657
TransactionCapsule transactionCap = builder.build();
656658
JLibrustzcash.librustzcashSaplingProvingCtxFree(ctx);
657659
boolean ret = ZksnarkClient.getInstance().checkZksnarkProof(transactionCap.getInstance(),
658-
TransactionCapsule.getShieldTransactionHashIgnoreTypeException(transactionCap.getInstance()),
660+
getShieldTransactionHashIgnoreTypeException(transactionCap.getInstance()),
659661
10 * 1000000);
660662
Assert.assertTrue(ret);
661663
}

0 commit comments

Comments
 (0)