(hash common.Uint256)
| 143 | } |
| 144 | |
| 145 | func (self *Store) GetTransaction(hash common.Uint256) (*types.Transaction, error) { |
| 146 | buf, err := self.GetTransactionBytes(hash) |
| 147 | if err != nil { |
| 148 | return nil, err |
| 149 | } |
| 150 | txn, err := types.TransactionFromRawBytes(buf) |
| 151 | if err != nil { |
| 152 | return nil, err |
| 153 | } |
| 154 | return txn, nil |
| 155 | } |
| 156 | |
| 157 | func (self *Store) Close() error { |
| 158 | err := self.db.Close() |
nothing calls this directly
no test coverage detected