Skip to content

Commit

Permalink
udb: Update func names in comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
jholdstock authored and jrick committed Sep 3, 2024
1 parent 34fa123 commit b9d5cc6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions wallet/udb/vsp.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2020-2023 The Decred developers
// Copyright (c) 2020-2024 The Decred developers
// Use of this source code is governed by an ISC
// license that can be found in the LICENSE file.

Expand Down Expand Up @@ -135,7 +135,7 @@ func GetVSPTicketsByFeeStatus(dbtx walletdb.ReadTx, feeStatus int) (map[chainhas
return tickets, nil
}

// deserializeUserTicket deserializes the passed serialized user
// deserializeVSPTicket deserializes the passed serialized user
// ticket information.
func deserializeVSPTicket(serializedTicket []byte) *VSPTicket {
// ticket stores hash size and an uint32 representing the fee processment
Expand All @@ -151,7 +151,7 @@ func deserializeVSPTicket(serializedTicket []byte) *VSPTicket {
return vspTicket
}

// serializeUserTicket returns the serialization of a single stake pool
// serializeVSPTicket returns the serialization of a single stake pool
// user ticket.
func serializeVSPTicket(record *VSPTicket) []byte {
// ticket hash size + fee processment status + host ID
Expand Down

0 comments on commit b9d5cc6

Please sign in to comment.