Skip to content

Commit

Permalink
made SolanaMiningBlockchainAccountAddress case sensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-ares committed Feb 1, 2024
1 parent 28fc0b5 commit 5c08786
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/eskimo-hut/users.go
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ func buildUserForModification(req *server.Request[ModifyUserRequestBody, ModifyU
usr.AgendaPhoneNumberHashes = &req.Data.AgendaPhoneNumberHashes
usr.BlockchainAccountAddress = req.Data.BlockchainAccountAddress
usr.MiningBlockchainAccountAddress = strings.ToLower(req.Data.MiningBlockchainAccountAddress)
usr.SolanaMiningBlockchainAccountAddress = strings.ToLower(req.Data.SolanaMiningBlockchainAccountAddress)
usr.SolanaMiningBlockchainAccountAddress = req.Data.SolanaMiningBlockchainAccountAddress
if req.Data.ClearMiningBlockchainAccountAddress != nil && *req.Data.ClearMiningBlockchainAccountAddress {
usr.MiningBlockchainAccountAddress = usr.ID
}
Expand Down

0 comments on commit 5c08786

Please sign in to comment.