From bb1a7f6921118da8b1cf5228031ba7d0a96990a3 Mon Sep 17 00:00:00 2001 From: colinlyguo Date: Wed, 13 Dec 2023 23:17:38 +0800 Subject: [PATCH] add 0x prefix in merkle proof --- bridge-history-api/internal/logic/history_logic.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge-history-api/internal/logic/history_logic.go b/bridge-history-api/internal/logic/history_logic.go index 0ea14969cc..48c6135ca8 100644 --- a/bridge-history-api/internal/logic/history_logic.go +++ b/bridge-history-api/internal/logic/history_logic.go @@ -276,7 +276,7 @@ func getTxHistoryInfo(message *orm.CrossMessage) *types.TxHistoryInfo { Value: message.MessageValue, Nonce: strconv.FormatUint(message.MessageNonce, 10), Message: message.MessageData, - Proof: common.Bytes2Hex(message.MerkleProof), + Proof: "0x" + common.Bytes2Hex(message.MerkleProof), BatchIndex: strconv.FormatUint(message.BatchIndex, 10), Claimable: true, }