Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
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
vicotor
mybee
Commits
d61c1646
Unverified
Commit
d61c1646
authored
Jan 26, 2021
by
Attila Lendvai
Committed by
GitHub
Jan 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
logging: more explicit wording that bee requires ETH and BZZ to start (#1150)
parent
1a8858ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
init.go
pkg/settlement/swap/chequebook/init.go
+2
-2
No files found.
pkg/settlement/swap/chequebook/init.go
View file @
d61c1646
...
@@ -48,9 +48,9 @@ func checkBalance(
...
@@ -48,9 +48,9 @@ func checkBalance(
}
}
if
balance
.
Cmp
(
big
.
NewInt
(
int64
(
swapInitialDeposit
)))
<
0
{
if
balance
.
Cmp
(
big
.
NewInt
(
int64
(
swapInitialDeposit
)))
<
0
{
logger
.
Warningf
(
"
please make sure there is sufficient eth and bzz
available on %x"
,
overlayEthAddress
)
logger
.
Warningf
(
"
cannot continue until there is sufficient ETH and BZZ
available on %x"
,
overlayEthAddress
)
if
chainId
==
5
{
if
chainId
==
5
{
logger
.
Warningf
(
"on
goerli you can get both goerli eth and goerli bzz
from https://faucet.ethswarm.org?address=%x"
,
overlayEthAddress
)
logger
.
Warningf
(
"on
the test network you can get both Goerli ETH and Goerli BZZ
from https://faucet.ethswarm.org?address=%x"
,
overlayEthAddress
)
}
}
select
{
select
{
case
<-
time
.
After
(
backoffDuration
)
:
case
<-
time
.
After
(
backoffDuration
)
:
...
...
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