wtxmgr: use proper updated API for msgtx

This commit is contained in:
Olaoluwa Osuntokun 2018-05-23 17:17:06 -07:00
parent 8d10315c0c
commit e22bcf88df

View file

@ -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