Remove commented code

This commit is contained in:
lash
2024-10-31 02:03:29 +00:00
parent a48170321c
commit dc198215b1
6 changed files with 0 additions and 34 deletions

View File

@@ -705,7 +705,6 @@ func (h *Handlers) FetchCustodialBalances(ctx context.Context, sym string, input
}
res.FlagReset = append(res.FlagReset, flag_api_error)
//balance := balanceResponse.Result.Balance
balance := balanceResponse.Balance
switch balanceType {

View File

@@ -815,7 +815,6 @@ func TestAuthorize(t *testing.T) {
// Create required mocks
mockDataStore := new(mocks.MockUserDataStore)
mockCreateAccountService := new(mocks.MockAccountService)
//expectedResult := resource.Result{}
mockState := state.NewState(16)
flag_incorrect_pin, _ := fm.GetFlag("flag_incorrect_pin")
flag_account_authorized, _ := fm.GetFlag("flag_account_authorized")

View File

@@ -3,14 +3,6 @@ package models
import "encoding/json"
//type BalanceResponse struct {
// Ok bool `json:"ok"`
// Result struct {
// Balance string `json:"balance"`
// Nonce json.Number `json:"nonce"`
// } `json:"result"`
//}
//
type BalanceResult struct {
Balance string `json:"balance"`
Nonce json.Number `json:"nonce"`

View File

@@ -4,13 +4,6 @@ import (
"encoding/json"
"time"
)
//type Transaction struct {
// CreatedAt time.Time `json:"createdAt"`
// Status string `json:"status"`
// TransferValue json.Number `json:"transferValue"`
// TxHash string `json:"txHash"`
// TxType string `json:"txType"`
//}
type TrackStatusResult struct {
CreatedAt time.Time `json:"createdAt"`

View File

@@ -1 +0,0 @@
package models