go fmt
This commit is contained in:
parent
879d69d040
commit
d31183ff19
1 changed files with 4 additions and 4 deletions
|
@ -109,10 +109,10 @@ func (db *LevelDb) getTxFullySpent(txsha *btcwire.ShaHash) ([]*spentTx, error) {
|
||||||
for i := range spentTxList {
|
for i := range spentTxList {
|
||||||
offset := i * 20
|
offset := i * 20
|
||||||
|
|
||||||
blkHeight := binary.LittleEndian.Uint64(buf[offset:offset+8])
|
blkHeight := binary.LittleEndian.Uint64(buf[offset : offset+8])
|
||||||
txOff := binary.LittleEndian.Uint32(buf[offset+8:offset+12])
|
txOff := binary.LittleEndian.Uint32(buf[offset+8 : offset+12])
|
||||||
txLen := binary.LittleEndian.Uint32(buf[offset+12:offset+16])
|
txLen := binary.LittleEndian.Uint32(buf[offset+12 : offset+16])
|
||||||
numTxO := binary.LittleEndian.Uint32(buf[offset+16:offset+20])
|
numTxO := binary.LittleEndian.Uint32(buf[offset+16 : offset+20])
|
||||||
|
|
||||||
sTx := spentTx{
|
sTx := spentTx{
|
||||||
blkHeight: int64(blkHeight),
|
blkHeight: int64(blkHeight),
|
||||||
|
|
Loading…
Reference in a new issue