Skip to content

Commit

Permalink
fix(ingester): index token freeze (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasPennie authored and linuskendall committed Jun 21, 2023
1 parent 109a45a commit e968d0a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
db-data
.idea

# Generated by local Redis
dump.rdb

# These are backup files generated by rustfmt
**/*.rs.bk
ledger
Expand Down
1 change: 1 addition & 0 deletions nft_ingester/src/program_transformers/token/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ pub async fn handle_token_program_account<'a, 'b, 'c>(
let mut active: asset::ActiveModel = asset.into();
active.owner = Set(Some(owner));
active.delegate = Set(delegate);
active.frozen = Set(frozen);
active.save(&txn).await?;
}
}
Expand Down

0 comments on commit e968d0a

Please sign in to comment.