Cleanup TxLoc function variable names.
This commit is contained in:
parent
3ffe28e364
commit
969fbd1500
1 changed files with 2 additions and 2 deletions
4
block.go
4
block.go
|
@ -166,11 +166,11 @@ func (b *Block) TxLoc() (txlocD []btcwire.TxLoc, err error) {
|
||||||
rbuf := bytes.NewBuffer(rawMsg)
|
rbuf := bytes.NewBuffer(rawMsg)
|
||||||
|
|
||||||
var mblock btcwire.MsgBlock
|
var mblock btcwire.MsgBlock
|
||||||
txloc, err := mblock.BtcDecodeTxLoc(rbuf, pver)
|
txLocs, err := mblock.BtcDecodeTxLoc(rbuf, pver)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
return txloc, err
|
return txLocs, err
|
||||||
}
|
}
|
||||||
|
|
||||||
// Height returns the saved height of the block in the blockchain. This value
|
// Height returns the saved height of the block in the blockchain. This value
|
||||||
|
|
Loading…
Reference in a new issue