Commit 4a30a526 authored by Ralph Pichler's avatar Ralph Pichler Committed by GitHub

fix: blocklist for less time in pseudosettle (#1750)

parent e3932518
......@@ -322,7 +322,7 @@ func (s *Service) Pay(ctx context.Context, peer swarm.Address, amount *big.Int,
if expectedAllowance.Cmp(acceptedAmount) > 0 {
// disconnect peer
err = s.p2pService.Blocklist(peer, 10000*time.Hour)
err = s.p2pService.Blocklist(peer, 1*time.Hour)
if err != nil {
return nil, 0, err
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment