Skip to content

Commit

Permalink
fix: remove atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
hanjukim committed Mar 16, 2022
1 parent e0b18c8 commit 164ecf5
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import (
"strconv"
"strings"
"sync"
"sync/atomic"
"time"

"github.com/dpapathanasiou/go-recaptcha"
Expand Down Expand Up @@ -191,7 +190,6 @@ func loadAccountInfo() {

bodyStr := string(body)
if strings.Contains(bodyStr, `"sequence"`) {
atomic.LoadUint64()
sequence, _ = strconv.ParseUint(parseRegexp(`"sequence":"?(\d+)"?`, bodyStr), 10, 64)
} else {
sequence = 0
Expand Down

0 comments on commit 164ecf5

Please sign in to comment.