Skip to content

Commit

Permalink
Added empty additions and removals
Browse files Browse the repository at this point in the history
  • Loading branch information
luna committed Dec 23, 2023
1 parent 80c3c6d commit 3a429dd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/blockchain/mempool_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ pub struct MempoolItem {
pub assert_before_seconds: Option<u64>,
#[serde(skip)]
pub bundle_coin_spends: HashMap<Bytes32, BundleCoinSpend>,
#[serde(default)]
pub additions: Vec<Coin>,
#[serde(default)]
pub removals: Vec<Coin>,
}
impl MempoolItem {
pub fn fee_per_cost(&self) -> f64 {
Expand Down

0 comments on commit 3a429dd

Please sign in to comment.