From 67021a889b16f5c4f9b540fd1b38dced86706e35 Mon Sep 17 00:00:00 2001 From: zxl <327966982@qq.com> Date: Fri, 24 May 2019 09:32:07 +0800 Subject: [PATCH] add TransactionHash --- spend.go | 1 + 1 file changed, 1 insertion(+) diff --git a/spend.go b/spend.go index 787c052..8b19f85 100644 --- a/spend.go +++ b/spend.go @@ -783,6 +783,7 @@ func MergeTransaction(mergeTransactionParams *adaptor.MergeTransactionParams, ne //result for return var mergeTransactionResult adaptor.MergeTransactionResult mergeTransactionResult.TransactionHex = hex.EncodeToString(buf.Bytes()) + mergeTransactionResult.TransactionHash = tx.TxHash().String() mergeTransactionResult.Complete = complete jsonResult, err := json.Marshal(mergeTransactionResult)