Remove unused RBFTx.frag field

This commit is contained in:
Ben Johnson 2021-02-23 08:32:07 -07:00
parent 0170167bdf
commit 5e477e107a

2
rbf.go
View file

@ -184,7 +184,6 @@ type RBFTx struct {
// initialIndex is only a debugging aid. Transactions
// can cross indexes. It can be left empty without consequence.
initialIndex string
frag *fragment
tx *rbf.Tx
o Txo
sn int64 // serial number
@ -520,7 +519,6 @@ func (w *RbfDBWrapper) NewTx(write bool, initialIndex string, o Txo) (_ Tx, err
rtx := &RBFTx{
tx: tx,
initialIndex: initialIndex,
frag: o.Fragment,
o: o,
sn: sn,
Db: w,