changed DenioD's github lightwalletd links to git.hush.is lightwalletd links

This commit is contained in:
jahway603
2020-11-27 22:13:24 -05:00
parent 2824ad752e
commit 0f21f457a6
9 changed files with 49 additions and 52 deletions

View File

@@ -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