mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 19:36:44 +01:00
Replace all []*Foo by []Foo in sql db return values
- Implement SlicePtrsToSlice and use it in all `meddler.QueryAll` sql db functions to always return []Foo instead of []*Foo
This commit is contained in:
@@ -78,8 +78,8 @@ D (3): 15
|
||||
require.Nil(t, err)
|
||||
}
|
||||
|
||||
for _, l1UserTx := range l1UserTxs[0] {
|
||||
client.CtlAddL1TxUser(&l1UserTx)
|
||||
for i := range l1UserTxs[0] {
|
||||
client.CtlAddL1TxUser(&l1UserTxs[0][i])
|
||||
}
|
||||
client.CtlMineBlock()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user