Skip to content

Commit 3af720f

Browse files
fix deserialization camelCase (#31)
1 parent caecc44 commit 3af720f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

core/src/rpc_clients/bundler.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ pub struct TwExecuteResponse {
7575
#[serde(rename_all = "camelCase", tag = "status")]
7676
pub enum TwGetTransactionHashResponse {
7777
Pending,
78-
Success { transaction_hash: String },
78+
#[serde(rename_all = "camelCase")]
79+
Success {
80+
transaction_hash: String,
81+
},
7982
}
8083

8184
#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]

0 commit comments

Comments
 (0)