From 969fbd1500ee631e332e6fca22e1d54f6d82b829 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 30 May 2013 11:13:08 -0500 Subject: [PATCH] Cleanup TxLoc function variable names. --- block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/block.go b/block.go index 990a200..8e144ca 100644 --- a/block.go +++ b/block.go @@ -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