Closed osmirnov closed 5 years ago
I would not say this is a problem but it impacts our code design a lot. I see benefits keeping Transaction class free from serizalization logic.
Maybe is better to set the message in binary format
It was before in binary format. In contrast to original NEO project our Transaction class is not able to be restored from byte array when it is casted to InvocationTransaction. This is the reason why we have two methods in MessageProvider class.
I think that the problem is that the process of serialize a Transaction was delegated to other class, right?