Skip to content

Commit

Permalink
fix walllet api
Browse files Browse the repository at this point in the history
  • Loading branch information
zensh committed Aug 28, 2023
1 parent 409fd17 commit ed32873
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/bll/walletbase.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,13 @@ func (b *Walletbase) ListCurrencies(ctx context.Context) ([]Currency, error) {
}

type WalletOutput struct {
Sequence uint64 `json:"sequence" cbor:"sequence"`
Award int64 `json:"award" cbor:"award"`
Topup int64 `json:"topup" cbor:"topup"`
Income int64 `json:"income" cbor:"income"`
Credits uint64 `json:"credits" cbor:"credits"`
Level uint8 `json:"level" cbor:"level"`
Txn *util.ID `json:"txn,omitempty" cbor:"txn,omitempty"`
Sequence uint64 `json:"sequence" cbor:"sequence"`
Award int64 `json:"award" cbor:"award"`
Topup int64 `json:"topup" cbor:"topup"`
Income int64 `json:"income" cbor:"income"`
Credits uint64 `json:"credits" cbor:"credits"`
Level uint8 `json:"level" cbor:"level"`
Txn util.ID `json:"txn" cbor:"txn"`
}

func (w *WalletOutput) SetLevel() {
Expand Down

0 comments on commit ed32873

Please sign in to comment.