From 84fe2f8c6c03b3c5f71ca7d67e350984d7810931 Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Tue, 5 Mar 2024 18:03:33 +0800 Subject: [PATCH] fix: fix batch_personal_sign test case failed --- token-core/tcx-eth/src/signer.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/token-core/tcx-eth/src/signer.rs b/token-core/tcx-eth/src/signer.rs index 08f9cab2..d0b4f339 100644 --- a/token-core/tcx-eth/src/signer.rs +++ b/token-core/tcx-eth/src/signer.rs @@ -696,7 +696,7 @@ mod test { "0xef678007d18427e6022059dbc264f27507cd1ffc".to_string(), ]; - let result = batch_personal_sign(&mut keystore, test_data).unwrap(); + let result = batch_personal_sign(&mut keystore, test_data, "").unwrap(); assert_eq!(result[0], "0x1be38ff0ab0e6d97cba73cf61421f0641628be8ee91dcb2f73315e7fdf4d0e2770b0cb3cc7350426798d43f0fb05602664a28bb2c9fcf46a07fa1c8c4e322ec01b".to_string()); assert_eq!(result[1], "0xb12a1c9d3a7bb722d952366b06bd48cb35bdf69065dee92351504c3716a782493c697de7b5e59579bdcc624aa277f8be5e7f42dc65fe7fcd4cc68fef29ff28c21b".to_string()); }