Skip to content

Commit

Permalink
add TransactionHash
Browse files Browse the repository at this point in the history
  • Loading branch information
zxlwdgithub committed May 24, 2019
1 parent 6044a62 commit 67021a8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 67021a8

Please sign in to comment.