Correct documentation of the Block.TxLoc function.
This commit is contained in:
parent
ef6c01960f
commit
af89ed1c2e
1 changed files with 2 additions and 1 deletions
3
block.go
3
block.go
|
@ -156,7 +156,8 @@ func (b *Block) ProtocolVersion() uint32 {
|
|||
}
|
||||
|
||||
// TxLoc() returns the offsets and lengths of each transaction in a raw block.
|
||||
// It is used to allow fast indexing into the
|
||||
// It is used to allow fast indexing into transactions within the raw byte
|
||||
// stream.
|
||||
func (b *Block) TxLoc() (txlocD []btcwire.TxLoc, err error) {
|
||||
rawMsg, pver, err := b.Bytes()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue