Browse Source

Merge pull request #191 from hermeznetwork/feature/fix-pr-187

Fix PR #187
feature/sql-semaphore1
Eduard S 4 years ago
committed by GitHub
parent
commit
3eec54a7e6
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      common/l1tx_test.go

+ 1
- 3
common/l1tx_test.go

@ -98,8 +98,6 @@ func TestL1TxByteParsersCompatibility(t *testing.T) {
pk, err := pkComp.Decompress() pk, err := pkComp.Decompress()
require.Nil(t, err) require.Nil(t, err)
fromIdx := new(Idx)
*fromIdx = 29767899
loadAmount := new(big.Int) loadAmount := new(big.Int)
loadAmount.SetString("100000000000000000000", 10) loadAmount.SetString("100000000000000000000", 10)
l1Tx := &L1Tx{ l1Tx := &L1Tx{
@ -107,7 +105,7 @@ func TestL1TxByteParsersCompatibility(t *testing.T) {
TokenID: 2098076, TokenID: 2098076,
Amount: big.NewInt(2400000000000000000), Amount: big.NewInt(2400000000000000000),
LoadAmount: loadAmount, LoadAmount: loadAmount,
FromIdx: fromIdx,
FromIdx: Idx(29767899),
FromBJJ: pk, FromBJJ: pk,
FromEthAddr: ethCommon.HexToAddress("0x85dab5b9e2e361d0c208d77be90efcc0439b0a53"), FromEthAddr: ethCommon.HexToAddress("0x85dab5b9e2e361d0c208d77be90efcc0439b0a53"),
} }

Loading…
Cancel
Save