mirror of
https://github.com/alexgo-io/bitcoin-indexer.git
synced 2026-01-12 16:52:57 +08:00
fix: enum serialization
This commit is contained in:
@@ -491,7 +491,7 @@ pub enum OutputPredicate {
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, JsonSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case", tag = "operation")]
|
||||
pub enum StacksOperations {
|
||||
StackerRewarded,
|
||||
BlockCommitted,
|
||||
@@ -501,7 +501,7 @@ pub enum StacksOperations {
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, Serialize, Deserialize, PartialEq, JsonSchema)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
#[serde(rename_all = "snake_case", tag = "operation")]
|
||||
pub enum OrdinalOperations {
|
||||
InscriptionFeed,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user