Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chain33-pai
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
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
szh
chain33-pai
Commits
2c727e7f
Commit
2c727e7f
authored
Aug 04, 2020
by
szh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
aaa9f550
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
raspberryChan.go
pkg/app/raspberryChan.go
+4
-1
No files found.
pkg/app/raspberryChan.go
View file @
2c727e7f
...
@@ -27,6 +27,7 @@ func RaspberryChan() {
...
@@ -27,6 +27,7 @@ func RaspberryChan() {
}
}
path
:=
GetAbsPath
(
setting
.
BityuanSetting
.
Name
)
path
:=
GetAbsPath
(
setting
.
BityuanSetting
.
Name
)
if
path
!=
""
{
if
path
!=
""
{
tlog
.
Info
(
"GetAbsPath node"
,
"path"
,
path
)
btyPath
=
path
btyPath
=
path
}
}
switch
value
.
Name
{
switch
value
.
Name
{
...
@@ -311,7 +312,9 @@ func resetWallet() error {
...
@@ -311,7 +312,9 @@ func resetWallet() error {
if
isrun
{
if
isrun
{
return
errors
.
New
(
"bty is running"
)
return
errors
.
New
(
"bty is running"
)
}
}
err
=
os
.
RemoveAll
(
fmt
.
Sprintf
(
"%s/wallet"
,
path
.
Dir
(
btyPath
)))
p
:=
fmt
.
Sprintf
(
"%s/wallet"
,
path
.
Dir
(
btyPath
))
tlog
.
Info
(
"reset wallet "
,
"path"
,
p
)
err
=
os
.
RemoveAll
(
p
)
if
err
!=
nil
{
if
err
!=
nil
{
return
err
return
err
}
}
...
...
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