diff --git a/.generated-sources/emily/openapi/emily-openapi-spec.json b/.generated-sources/emily/openapi/emily-openapi-spec.json index 4ea25546..39fb3465 100644 --- a/.generated-sources/emily/openapi/emily-openapi-spec.json +++ b/.generated-sources/emily/openapi/emily-openapi-spec.json @@ -1305,7 +1305,7 @@ }, "depositScript": { "type": "string", - "description": "Raw deposit script binary." + "description": "Raw deposit script binary in hex." }, "fulfillment": { "allOf": [ @@ -1334,7 +1334,7 @@ }, "reclaimScript": { "type": "string", - "description": "Raw reclaim script binary." + "description": "Raw reclaim script binary in hex." }, "status": { "$ref": "#/components/schemas/Status" @@ -1378,7 +1378,7 @@ }, "depositScript": { "type": "string", - "description": "Raw deposit script binary." + "description": "Raw deposit script binary in hex." }, "lastUpdateBlockHash": { "type": "string", @@ -1396,7 +1396,7 @@ }, "reclaimScript": { "type": "string", - "description": "Raw reclaim script binary." + "description": "Raw reclaim script binary in hex." }, "status": { "$ref": "#/components/schemas/Status" diff --git a/emily/handler/src/api/models/deposit/mod.rs b/emily/handler/src/api/models/deposit/mod.rs index c610087c..063982a6 100644 --- a/emily/handler/src/api/models/deposit/mod.rs +++ b/emily/handler/src/api/models/deposit/mod.rs @@ -49,9 +49,9 @@ pub struct Deposit { pub status_message: String, /// Deposit parameters pub parameters: DepositParameters, - /// Raw reclaim script binary. + /// Raw reclaim script binary in hex. pub reclaim_script: String, - /// Raw deposit script binary. + /// Raw deposit script binary in hex. pub deposit_script: String, /// Details about the on chain artifacts that fulfilled the deposit. #[serde(skip_serializing_if = "Option::is_none")] @@ -80,8 +80,6 @@ pub struct DepositParameters { pub max_fee: u64, /// Bitcoin block height at which the reclaim script becomes executable. pub lock_time: u64, - // /// Raw reclaim script. - // pub reclaim_script: String, } /// Reduced version of the Deposit data. @@ -119,9 +117,9 @@ pub struct DepositInfo { pub last_update_block_hash: String, /// The status of the deposit. pub status: Status, - /// Raw reclaim script binary. + /// Raw reclaim script binary in hex. pub reclaim_script: String, - /// Raw deposit script binary. + /// Raw deposit script binary in hex. pub deposit_script: String, }