Cleanup TxLoc function variable names.

This commit is contained in:
Dave Collins 2013-05-30 11:13:08 -05:00
parent 3ffe28e364
commit 969fbd1500

View file

@ -166,11 +166,11 @@ func (b *Block) TxLoc() (txlocD []btcwire.TxLoc, err error) {
rbuf := bytes.NewBuffer(rawMsg)
var mblock btcwire.MsgBlock
txloc, err := mblock.BtcDecodeTxLoc(rbuf, pver)
txLocs, err := mblock.BtcDecodeTxLoc(rbuf, pver)
if err != nil {
return
}
return txloc, err
return txLocs, err
}
// Height returns the saved height of the block in the blockchain. This value