Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion token/services/selector/testutils/test_cases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ package testutils
import (
"context"
"fmt"
"math/big"
"sync"
"sync/atomic"
"testing"
Expand Down Expand Up @@ -173,7 +174,7 @@ func (m *enhancedManager) UpdateTokens(deleted []*token.ID, added []token.Unspen
LedgerMetadata: []byte{},
Quantity: t.Quantity,
Type: t.Type,
Amount: 0,
Amount: big.NewInt(0),
Owner: true,
Auditor: false,
Issuer: false,
Expand Down
3 changes: 2 additions & 1 deletion token/services/storage/db/dbtest/tokenlock.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SPDX-License-Identifier: Apache-2.0
package dbtest

import (
"math/big"
"testing"
"time"

Expand Down Expand Up @@ -79,7 +80,7 @@ func TestFully(t *testing.T, tokenDB driver3.TokenStore, tokenLockDB driver3.Tok
LedgerMetadata: []byte{}, // Empty metadata
Quantity: "0x64", // 100 in hex
Type: "USD",
Amount: 100,
Amount: big.NewInt(100),
Owner: true,
}
err = tokenTx.StoreToken(ctx, tokenRecord, []string{"owner1"})
Expand Down
Loading
Loading