From 22bf4abeb755b427bf38c88f0b9d4de5d41b27b7 Mon Sep 17 00:00:00 2001 From: CryptoManiac Date: Sat, 29 Aug 2015 23:17:19 +0300 Subject: [PATCH] Bugfix: incorrect TxOffset calculation. --- Novacoin/CBlock.cs | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Novacoin/CBlock.cs b/Novacoin/CBlock.cs index d3b4022..3953db1 100644 --- a/Novacoin/CBlock.cs +++ b/Novacoin/CBlock.cs @@ -199,7 +199,7 @@ namespace Novacoin for (int i = 0; i < nTx; i++) { - nOffset += vtx[nTx].Size; + nOffset += vtx[i].Size; } return nOffset; -- 1.7.1