mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-06 02:08:02 +00:00
Use array-bytes for All Array/Bytes/Hex Operations (#12190)
* Use `array-bytes` for All Array/Bytes/Hex Operations Signed-off-by: Xavier Lau <xavier@inv.cafe> * Reorder * Self Review * Format * Fix Tests * Bump `array-bytes` * Optimize large test res Signed-off-by: Xavier Lau <xavier@inv.cafe> Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -346,7 +346,7 @@ impl RpcHandlersExt for RpcHandlers {
|
||||
"params": ["0x{}"],
|
||||
"id": 0
|
||||
}}"#,
|
||||
hex::encode(extrinsic.encode())
|
||||
array_bytes::bytes2hex("", &extrinsic.encode())
|
||||
))
|
||||
.await
|
||||
.expect("valid JSON-RPC request object; qed");
|
||||
|
||||
Reference in New Issue
Block a user