Skip to content

Commit

Permalink
Remove redundant padding insert in TryAddSeedCompletion
Browse files Browse the repository at this point in the history
  • Loading branch information
patapancakes committed Apr 18, 2024
1 parent 35641e4 commit bcfbc37
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions db/savedata.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package db

func TryAddSeedCompletion(uuid []byte, seed string, mode int) (bool, error) {
if len(seed) < 24 {
for range 24 - len(seed) {
seed += "0"
}
for range 24 - len(seed) {
seed += "0"
}

var count int
Expand Down

0 comments on commit bcfbc37

Please sign in to comment.