ipld-eth-server/core/blockchain.go
Eric Meyer 0262a99321 Close subscription in integration test
* This was causing issues in future tests,
   since the subscription was causing blocks
   and transactions to be added to the DB
2017-11-03 08:56:58 -05:00

8 lines
117 B
Go

package core
type Blockchain interface {
SubscribeToBlocks(blocks chan Block)
StartListening()
StopListening()
}