Fix serialization of non-localized transactions (#6868)
* Fix serialization of non-localized transactions. * Return proper SignedTransactions representation.
This commit is contained in:
committed by
Arkadiy Paronyan
parent
d68b3f131d
commit
b98150526c
@@ -469,6 +469,11 @@ impl SignedTransaction {
|
||||
pub fn is_unsigned(&self) -> bool {
|
||||
self.transaction.is_unsigned()
|
||||
}
|
||||
|
||||
/// Deconstructs this transaction back into `UnverifiedTransaction`
|
||||
pub fn deconstruct(self) -> (UnverifiedTransaction, Address, Option<Public>) {
|
||||
(self.transaction, self.sender, self.public)
|
||||
}
|
||||
}
|
||||
|
||||
/// Signed Transaction that is a part of canon blockchain.
|
||||
|
||||
Reference in New Issue
Block a user