mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-12-01 14:59:58 +00:00
into_encoded() for consistency (#685)
* into_encoded() for consistency * clippy fix
This commit is contained in:
1 parent
95e6aa9dda
commit
353cdb8748
2 files changed
+2
-1
No files matched your search
@@ -63,7 +63,7 @@ impl DecodeWithMetadata for DecodedValueThunk {
|
||||
|
||||
impl DecodedValueThunk {
|
||||
/// Return the SCALE encoded bytes handed back from the node.
|
||||
pub fn to_encoded(self) -> Vec<u8> {
|
||||
pub fn into_encoded(self) -> Vec<u8> {
|
||||
self.scale_bytes
|
||||
}
|
||||
/// Return the SCALE encoded bytes handed back from the node without taking ownership of them.
|
||||
|
||||
Reference in new issue
Block a user