Skip to content

Commit 44f9bba

Browse files
committed
fix: move failure variant above other
1 parent e0a59fa commit 44f9bba

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

client/src/client.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ pub enum PackageTransactionResult {
5656
vsize: u32,
5757
fees: PackageSubmissionFees,
5858
},
59+
Failure {
60+
txid: String,
61+
error: String,
62+
},
5963
SuccessAlreadyInMempool {
6064
txid: String,
6165
#[serde(rename = "other-wtxid")]
6266
other_wtxid: Option<String>,
6367
},
64-
Failure {
65-
txid: String,
66-
error: String,
67-
},
6868
}
6969
#[cfg(test)]
7070
mod tests {

0 commit comments

Comments
 (0)