Browse Source

Fix PR #187

(#187 PR was done before another PR (#186) was merged into master, and
when 187 was merged to master, was not compiling due changes from #186
not applied yet to #187)
feature/sql-semaphore1
arnaucube 4 years ago
parent
commit
bdbbde47bf
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