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
d4a29fb8
Commit
d4a29fb8
authored
Nov 28, 2018
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update seed print
parent
2ec151b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
CHANGELOG.md
vendor/github.com/33cn/chain33/CHANGELOG.md
+1
-1
seed.go
vendor/github.com/33cn/chain33/system/dapp/commands/seed.go
+8
-1
No files found.
vendor/github.com/33cn/chain33/CHANGELOG.md
View file @
d4a29fb8
...
...
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
## [6.0.2]
### Changed
-
changed cli version cmd return json format and added title app localdb version info
-
change cli seed generate -l 0 from json format to only string
## [6.0.1]
### Changed
-
Update configuration files from p2p/verMix to p2p/verMin from
[
@libangzhu
](
https://github.com/libangzhu
)
.
...
...
vendor/github.com/33cn/chain33/system/dapp/commands/seed.go
View file @
d4a29fb8
...
...
@@ -5,6 +5,8 @@
package
commands
import
(
"fmt"
"github.com/33cn/chain33/rpc/jsonclient"
rpctypes
"github.com/33cn/chain33/rpc/types"
"github.com/33cn/chain33/types"
...
...
@@ -52,7 +54,12 @@ func genSeed(cmd *cobra.Command, args []string) {
}
var
res
types
.
ReplySeed
ctx
:=
jsonclient
.
NewRPCCtx
(
rpcLaddr
,
"Chain33.GenSeed"
,
params
,
&
res
)
ctx
.
Run
()
_
,
err
:=
ctx
.
RunResult
()
if
err
!=
nil
{
fmt
.
Println
(
err
)
return
}
fmt
.
Println
(
res
.
Seed
)
}
// GetSeedCmd get seed
...
...
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