mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-15 16:11:05 +00:00
into_encoded() for consistency (#685)
* into_encoded() for consistency * clippy fix
This commit is contained in:
@@ -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