Skip to content

Commit

Permalink
Merge pull request #75 from MostroP2P/rename-master-pubkey
Browse files Browse the repository at this point in the history
Rename to *_trade_pubkey in smallorder struct
  • Loading branch information
grunch authored Dec 23, 2024
2 parents f946919 + b0f9d63 commit f6c71e4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mostro-core"
version = "0.6.19"
version = "0.6.20"
edition = "2021"
license = "MIT"
authors = ["Francisco Calderón <[email protected]>"]
Expand Down
12 changes: 6 additions & 6 deletions src/order.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,9 @@ pub struct SmallOrder {
pub payment_method: String,
pub premium: i64,
#[serde(skip_serializing_if = "Option::is_none")]
pub master_buyer_pubkey: Option<String>,
pub buyer_trade_pubkey: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub master_seller_pubkey: Option<String>,
pub seller_trade_pubkey: Option<String>,
#[serde(skip_serializing_if = "Option::is_none")]
pub buyer_invoice: Option<String>,
pub created_at: Option<i64>,
Expand All @@ -216,8 +216,8 @@ impl SmallOrder {
fiat_amount: i64,
payment_method: String,
premium: i64,
master_buyer_pubkey: Option<String>,
master_seller_pubkey: Option<String>,
buyer_trade_pubkey: Option<String>,
seller_trade_pubkey: Option<String>,
buyer_invoice: Option<String>,
created_at: Option<i64>,
expires_at: Option<i64>,
Expand All @@ -235,8 +235,8 @@ impl SmallOrder {
fiat_amount,
payment_method,
premium,
master_buyer_pubkey,
master_seller_pubkey,
buyer_trade_pubkey,
seller_trade_pubkey,
buyer_invoice,
created_at,
expires_at,
Expand Down

0 comments on commit f6c71e4

Please sign in to comment.