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 Jun 6, 2023
1 parent 8a2776f commit 2fc3c4a
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 @@ -5,6 +5,9 @@ db-data
.idea
**/target/

# 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 @@ -77,6 +77,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 2fc3c4a

Please sign in to comment.