fiz: correções da pool

This commit is contained in:
Júnior
2025-06-17 18:26:14 -03:00
parent 682027d517
commit 9259f36e9c
31 changed files with 373 additions and 269 deletions

View File

@ -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
}