Skip to content

Commit

Permalink
Using interface instead of class if ColoredCoin.Find, 1.0.6.3
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDorier committed Nov 18, 2014
1 parent 7132f53 commit d667ca3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions NBitcoin/Coin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,11 @@ public static IEnumerable<ColoredCoin> Find(uint256 txId, Transaction tx, Colore
}
}

public static IEnumerable<ColoredCoin> Find(Transaction tx, NoSqlColoredTransactionRepository repo)
public static IEnumerable<ColoredCoin> Find(Transaction tx, IColoredTransactionRepository repo)
{
return Find(null, tx, repo);
}
public static IEnumerable<ColoredCoin> Find(uint256 txId, Transaction tx, NoSqlColoredTransactionRepository repo)
public static IEnumerable<ColoredCoin> Find(uint256 txId, Transaction tx, IColoredTransactionRepository repo)
{
if(txId == null)
txId = tx.GetHash();
Expand Down
2 changes: 1 addition & 1 deletion NBitcoin/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.6.2")]
[assembly: AssemblyVersion("1.0.6.3")]
[assembly: AssemblyFileVersion("1.0.0.0")]

2 comments on commit d667ca3

@dthorpe
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay! ;>

@NicolasDorier
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know why in the hell I used NoSqlColoredTransaction... likely visual studio auto generated method :D

Please sign in to comment.