diff options
Diffstat (limited to 'swarm/swap')
-rw-r--r-- | swarm/swap/swap.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swarm/swap/swap.go b/swarm/swap/swap.go index 137eb141d..5d636dc20 100644 --- a/swarm/swap/swap.go +++ b/swarm/swap/swap.go @@ -91,3 +91,8 @@ func (s *Swap) loadState(peer *protocols.Peer) (err error) { } return } + +//Clean up Swap +func (swap *Swap) Close() { + swap.stateStore.Close() +} |