Skip to content

Commit

Permalink
Remove DomainUtils/Type.fs and its interface definitions
Browse files Browse the repository at this point in the history
This module defined the following interfaces:

    type IState = interface end
    type IStateData = interface end
    type ICommand = interface end
    type IEvent = interface end

These were not used in the code anywhere
  • Loading branch information
canndrew authored and knocte committed Jun 17, 2021
1 parent 603a429 commit 4a5f5c7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/DotNetLightning.Core/Channel/ChannelTypes.fs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ namespace DotNetLightning.Channel
open DotNetLightning.Chain
open DotNetLightning.Utils
open DotNetLightning.Utils.Aether
open DotNetLightning.DomainUtils.Types
open DotNetLightning.Serialization.Msgs
open DotNetLightning.Transactions
open DotNetLightning.Crypto
Expand All @@ -25,8 +24,6 @@ open NBitcoin

[<AutoOpen>]
module Data =
type IChannelStateData = interface inherit IStateData end

type NegotiatingState = {
LocalRequestedShutdown: Option<ShutdownScriptPubKey>
RemoteRequestedShutdown: Option<ShutdownScriptPubKey>
Expand Down
7 changes: 0 additions & 7 deletions src/DotNetLightning.Core/DomainUtils/Types.fs

This file was deleted.

1 change: 0 additions & 1 deletion src/DotNetLightning.Core/DotNetLightning.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@
<Compile Include="Crypto/ShaChain.fs" />
<Compile Include="Crypto\Aezeed.fs" />
<Compile Include="Crypto/Sphinx.fs" />
<Compile Include="DomainUtils/Types.fs" />
<Compile Include="Transactions\TransactionError.fs" />
<Compile Include="Transactions/CommitmentSpec.fs" />
<Compile Include="Transactions/Scripts.fs" />
Expand Down
1 change: 0 additions & 1 deletion src/DotNetLightning.Core/Transactions/Scripts.fs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
namespace DotNetLightning.Transactions

open DotNetLightning.DomainUtils.Types
open NBitcoin
open NBitcoin.Crypto
open DotNetLightning.Utils
Expand Down

0 comments on commit 4a5f5c7

Please sign in to comment.