Accounting metrics reporter (#18136)

This commit is contained in:
holisticode
2018-11-26 11:05:18 -05:00
committed by Anton Evangelatov
parent 2714e8f091
commit bba5fd8192
6 changed files with 305 additions and 30 deletions

View File

@@ -91,3 +91,8 @@ func (s *Swap) loadState(peer *protocols.Peer) (err error) {
}
return
}
//Clean up Swap
func (swap *Swap) Close() {
swap.stateStore.Close()
}