diff --git a/WavesCS/Transactions/AliasTransaction.cs b/WavesCS/Transactions/AliasTransaction.cs index 9708473..6c649a0 100644 --- a/WavesCS/Transactions/AliasTransaction.cs +++ b/WavesCS/Transactions/AliasTransaction.cs @@ -26,7 +26,7 @@ public override byte[] GetBody() writer.Write(TransactionType.Alias); writer.Write(SenderPublicKey); writer.WriteShort(Alias.Length + 4); - writer.Write(0x02); + writer.Write((byte) 0x02); writer.Write((byte) Scheme); writer.WriteShort(Alias.Length); writer.Write(Encoding.ASCII.GetBytes(Alias));