git://git.novaco.in
/
NovacoinLibrary.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
CBlock: Fix null reference in copy constructor
[NovacoinLibrary.git]
/
Novacoin
/
CBlock.cs
diff --git
a/Novacoin/CBlock.cs
b/Novacoin/CBlock.cs
index
20f462c
..
856358f
100644
(file)
--- a/
Novacoin/CBlock.cs
+++ b/
Novacoin/CBlock.cs
@@
-47,6
+47,7
@@
namespace Novacoin
public CBlock(CBlock b)
{
header = new CBlockHeader(b.header);
+ vtx = new CTransaction[b.vtx.Length];
for (int i = 0; i < b.vtx.Length; i++)
{