Skip to content

Commit

Permalink
added tx does not exceed gas limit todo back for ethereum#37
Browse files Browse the repository at this point in the history
  • Loading branch information
terencechain committed Mar 21, 2018
1 parent 3e416de commit 4b04329
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sharding/collation.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ func (c *Collation) ProposerSignature() []byte { return c.header.propos
func (c *Collation) SetHeader(h *CollationHeader) { c.header = h }

func (c *Collation) AddTransaction(tx *types.Transaction) {
// TODO: Check transaction does not exceed gas limit
c.transactions = append(c.transactions, tx)
}

Expand Down

0 comments on commit 4b04329

Please sign in to comment.