Skip to content

Commit c35a737

Browse files
author
Ludo Galabru
committed
fix: transaction type schema
1 parent 0ec2653 commit c35a737

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

components/chainhook-types-rs/src/rosetta.rs

+1
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ pub struct StacksTransactionData {
143143
}
144144

145145
#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
146+
#[serde(tag = "type", content = "data")]
146147
pub enum StacksTransactionKind {
147148
ContractCall(StacksContractCallData),
148149
ContractDeployment(StacksContractDeploymentData),

0 commit comments

Comments
 (0)