Skip to content

Commit

Permalink
comment on set method
Browse files Browse the repository at this point in the history
  • Loading branch information
chadlagore committed Jun 17, 2017
1 parent 762b1a1 commit 05317b5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pool/pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func (p *Pool) SetUnsafe(t *blockchain.Transaction) {
p.set(t)
}

// Silently adds a transaction to the pool.
func (p *Pool) set(t *blockchain.Transaction) {
vt := &PooledTransaction{
Transaction: t,
Expand Down

0 comments on commit 05317b5

Please sign in to comment.