Skip to content

Commit

Permalink
* Update comments and variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitryhil committed Nov 7, 2023
1 parent 1c77618 commit b9fb691
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions integration-tests/processes/ticket_allocation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,11 @@ func TestTicketsReAllocationByTheXRPLTokenRegistration(t *testing.T) {
}
runnerEnv.AwaitNoPendingOperations(ctx, t)

availableTicketsAfterReAllocation, err := runnerEnv.ContractClient.GetAvailableTickets(ctx)
availableTicketsAfterReallocation, err := runnerEnv.ContractClient.GetAvailableTickets(ctx)
require.NoError(t, err)
require.Len(t, availableTicketsAfterReAllocation, envCfg.UsedTicketsThreshold)
require.Len(t, availableTicketsAfterReallocation, envCfg.UsedTicketsThreshold)
// check that tickets are used
require.NotEqualValues(t, initialAvailableTickets, availableTicketsAfterReAllocation)
require.NotEqualValues(t, initialAvailableTickets, availableTicketsAfterReallocation)

// use re-allocated tickets
for i := 0; i < numberOfXRPLTokensToRegister; i++ {
Expand All @@ -227,5 +227,5 @@ func TestTicketsReAllocationByTheXRPLTokenRegistration(t *testing.T) {
availableTicketsAfterSecondReallocation, err := runnerEnv.ContractClient.GetAvailableTickets(ctx)
require.NoError(t, err)
require.NotEqualValues(t, initialAvailableTickets, availableTicketsAfterSecondReallocation)
require.NotEqualValues(t, availableTicketsAfterReAllocation, availableTicketsAfterSecondReallocation)
require.NotEqualValues(t, availableTicketsAfterReallocation, availableTicketsAfterSecondReallocation)
}
2 changes: 1 addition & 1 deletion relayer/processes/amount.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const (
XRPLAmountPrec = 16
// XRPLIssuedCurrencyDecimals is XRPL decimals used on the coreum.
XRPLIssuedCurrencyDecimals = 15
// XRPIssuer is XRP issuer name used on the coreum.
// XRPIssuer is XRP issuer address used on the coreum.
XRPIssuer = "rrrrrrrrrrrrrrrrrrrrrho"
// XRPCurrency is XRP currency name used on the coreum.
XRPCurrency = "XRP"
Expand Down

0 comments on commit b9fb691

Please sign in to comment.