X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=Novacoin%2FCTransaction.cs;h=091b442b14ae2228c083de2bcdd48ee128539448;hb=5f1c284906c75b1c579357db468239d47c5b8707;hp=3557398d3653074793fb58efaeef98531cfb0d96;hpb=2d8a4c9b2b8b952272a22546154fabb53078bda6;p=NovacoinLibrary.git diff --git a/Novacoin/CTransaction.cs b/Novacoin/CTransaction.cs index 3557398..091b442 100644 --- a/Novacoin/CTransaction.cs +++ b/Novacoin/CTransaction.cs @@ -189,7 +189,7 @@ namespace Novacoin /// /// A sequence of bytes, which corresponds to the current state of CTransaction. /// - public IList Bytes + public byte[] Bytes { get { @@ -257,7 +257,7 @@ namespace Novacoin resultBytes.AddRange(BitConverter.GetBytes(nLockTime)); - return resultBytes; + return resultBytes.ToArray(); } }