From e22bcf88dff38aa253157510d6c697f0f35fd5f8 Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Wed, 23 May 2018 17:17:06 -0700 Subject: [PATCH] wtxmgr: use proper updated API for msgtx --- wtxmgr/tx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wtxmgr/tx.go b/wtxmgr/tx.go index cba352f..1690fa3 100644 --- a/wtxmgr/tx.go +++ b/wtxmgr/tx.go @@ -112,7 +112,7 @@ func NewTxRecordFromMsgTx(msgTx *wire.MsgTx, received time.Time) (*TxRecord, err MsgTx: *msgTx, Received: received, SerializedTx: buf.Bytes(), - Hash: msgTx.TxSha(), + Hash: msgTx.TxHash(), } return rec, nil