mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add transakcio set type define, add set load [...]
Add transakcio set type definition, add set loading, move transakcio to package, adapt branch to last master updates (fix compile due new common types & git conflicts). Update tests to pass the test, pending to adapt to new Transakcio interface.
This commit is contained in:
@@ -95,7 +95,7 @@ func (tx *L2Tx) PoolL2Tx() *PoolL2Tx {
|
||||
|
||||
// L2TxsToPoolL2Txs returns an array of []*PoolL2Tx from an array of []*L2Tx,
|
||||
// where the PoolL2Tx only have the parameters of a L2Tx filled.
|
||||
func L2TxsToPoolL2Txs(txs []*L2Tx) []PoolL2Tx {
|
||||
func L2TxsToPoolL2Txs(txs []L2Tx) []PoolL2Tx {
|
||||
var r []PoolL2Tx
|
||||
for _, tx := range txs {
|
||||
r = append(r, *tx.PoolL2Tx())
|
||||
|
||||
Reference in New Issue
Block a user