Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
ea925a94
Commit
ea925a94
authored
Nov 09, 2018
by
king wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix test
parent
44934b41
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
Makefile
Makefile
+5
-0
chain33
chain33
+0
-0
chain33-cli
chain33-cli
+0
-0
btcd.go
plugin/dapp/relay/cmd/relayd/relayd/btcd.go
+1
-1
No files found.
Makefile
View file @
ea925a94
CHAIN33
=
gitlab.33.cn/chain33/chain33
CHAIN33
=
gitlab.33.cn/chain33/chain33
MKPATH
=
$
(
abspath
$
(
lastword
$(MAKEFILE_LIST)
))
MKPATH
=
$
(
abspath
$
(
lastword
$(MAKEFILE_LIST)
))
MKDIR
=
$
(
dir
$(MKPATH)
)
MKDIR
=
$
(
dir
$(MKPATH)
)
PKG_LIST
:=
`
go list ./... |
grep
-v
"vendor"
|
grep
-v
"chain33/test"
|
grep
-v
"mocks"
|
grep
-v
"pbft"
`
all
:
build
all
:
build
...
@@ -34,3 +35,7 @@ clean:
...
@@ -34,3 +35,7 @@ clean:
@
rm
-rf
plugin/dapp/init
@
rm
-rf
plugin/dapp/init
@
rm
-rf
plugin/crypto/init
@
rm
-rf
plugin/crypto/init
@
rm
-rf
plugin/store/init
@
rm
-rf
plugin/store/init
test
:
##
Run unittests
@
go
test
-race
$(PKG_LIST)
chain33
deleted
100755 → 0
View file @
44934b41
File deleted
chain33-cli
deleted
100755 → 0
View file @
44934b41
File deleted
plugin/dapp/relay/cmd/relayd/relayd/btcd.go
View file @
ea925a94
...
@@ -387,7 +387,7 @@ func (b *btcdClient) GetBlockHeader(height uint64) (*ty.BtcHeader, error) {
...
@@ -387,7 +387,7 @@ func (b *btcdClient) GetBlockHeader(height uint64) (*ty.BtcHeader, error) {
h
:=
&
ty
.
BtcHeader
{
h
:=
&
ty
.
BtcHeader
{
Hash
:
header
.
Hash
,
Hash
:
header
.
Hash
,
Confirmations
:
header
.
Confirmations
,
Confirmations
:
uint64
(
header
.
Confirmations
)
,
Height
:
uint64
(
header
.
Height
),
Height
:
uint64
(
header
.
Height
),
MerkleRoot
:
header
.
MerkleRoot
,
MerkleRoot
:
header
.
MerkleRoot
,
Time
:
header
.
Time
,
Time
:
header
.
Time
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment