mempool: drop TxWithFee type
All the fees are in transaction, this makes no sense.
This commit is contained in:
parent
a986e2a064
commit
63f4f34659
8 changed files with 24 additions and 34 deletions
|
@ -461,7 +461,7 @@ func (s *Server) getRawMempool(_ request.Params) (interface{}, *response.Error)
|
|||
mp := s.chain.GetMemPool()
|
||||
hashList := make([]util.Uint256, 0)
|
||||
for _, item := range mp.GetVerifiedTransactions() {
|
||||
hashList = append(hashList, item.Tx.Hash())
|
||||
hashList = append(hashList, item.Hash())
|
||||
}
|
||||
return hashList, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue