Skip to content

Commit

Permalink
Removing setting seq for token-metadata asset and creator (they don't…
Browse files Browse the repository at this point in the history
… use this)
  • Loading branch information
danenbm committed Jul 18, 2023
1 parent 22944e7 commit e4af3a2
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
specification_asset_class: Set(Some(class)),
tree_id: Set(None),
nonce: Set(Some(0)),
seq: Set(Some(0)),
leaf: Set(None),
compressed: Set(false),
compressible: Set(false),
Expand Down Expand Up @@ -367,7 +366,6 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
creator: Set(c.address.to_bytes().to_vec()),
share: Set(c.share as i32),
verified: Set(c.verified),
seq: Set(Some(0)), // do we need this here @micheal-danenberg?
slot_updated: Set(Some(slot_i)),
position: Set(i as i16),
..Default::default()
Expand Down

0 comments on commit e4af3a2

Please sign in to comment.