fiz: correções da pool
This commit is contained in:
@ -23,3 +23,7 @@ func (m *Mempool) All() []*transactions.Transaction {
|
||||
func (m *Mempool) Clear() {
|
||||
m.transactions = []*transactions.Transaction{}
|
||||
}
|
||||
|
||||
func (m *Mempool) GetTransactions() []*transactions.Transaction {
|
||||
return m.transactions
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user