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 authored and prestonvanloon committed Apr 2, 2018
1 parent af77e28 commit be7c54f
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 be7c54f

Please sign in to comment.