changed DenioD's github lightwalletd links to git.hush.is lightwalletd links
This commit is contained in:
@@ -3,9 +3,9 @@ package parser
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"git.hush.is/hush/lightwalletd/parser/internal/bytestring"
|
||||
"git.hush.is/hush/lightwalletd/walletrpc"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/DenioD/lightwalletd/parser/internal/bytestring"
|
||||
"github.com/DenioD/lightwalletd/walletrpc"
|
||||
)
|
||||
|
||||
type Block struct {
|
||||
@@ -101,10 +101,10 @@ func (b *Block) GetPrevHash() []byte {
|
||||
func (b *Block) ToCompact() *walletrpc.CompactBlock {
|
||||
compactBlock := &walletrpc.CompactBlock{
|
||||
//TODO ProtoVersion: 1,
|
||||
Height: uint64(b.GetHeight()),
|
||||
Height: uint64(b.GetHeight()),
|
||||
PrevHash: b.hdr.HashPrevBlock,
|
||||
Hash: b.GetEncodableHash(),
|
||||
Time: b.hdr.Time,
|
||||
Hash: b.GetEncodableHash(),
|
||||
Time: b.hdr.Time,
|
||||
}
|
||||
|
||||
// Only Sapling transactions have a meaningful compact encoding
|
||||
|
||||
Reference in New Issue
Block a user