diff --git a/src/Blockcore.Indexer.Angor/Storage/Mongo/AngorMongoData.cs b/src/Blockcore.Indexer.Angor/Storage/Mongo/AngorMongoData.cs index 36a24b6..3e32e39 100644 --- a/src/Blockcore.Indexer.Angor/Storage/Mongo/AngorMongoData.cs +++ b/src/Blockcore.Indexer.Angor/Storage/Mongo/AngorMongoData.cs @@ -42,7 +42,7 @@ public AngorMongoData(ILogger dbLogger, SyncConnection connection, return new ProjectIndexerData { FounderKey = project.FounderKey, - NostrEventId = project.NosrtEventId, + NostrEventId = project.NostrEventId, ProjectIdentifier = project.AngorKey, TrxId = project.TransactionId, TotalInvestmentsCount = total, @@ -236,7 +236,7 @@ public async Task> GetProjectsAsync(int? offset, Items = projects.Select(_ => new ProjectIndexerData { FounderKey = _.FounderKey, - NostrEventId =_.NosrtEventId, + NostrEventId =_.NostrEventId, ProjectIdentifier = _.AngorKey, TrxId = _.TransactionId, CreatedOnBlock = _.BlockIndex diff --git a/src/Blockcore.Indexer.Angor/Storage/Mongo/Types/Project.cs b/src/Blockcore.Indexer.Angor/Storage/Mongo/Types/Project.cs index 8cb908c..015b525 100644 --- a/src/Blockcore.Indexer.Angor/Storage/Mongo/Types/Project.cs +++ b/src/Blockcore.Indexer.Angor/Storage/Mongo/Types/Project.cs @@ -5,7 +5,7 @@ public class Project public string AngorKey { get; set; } public string FounderKey { get; set; } - public string NosrtEventId { get; set; } + public string NostrEventId { get; set; } public string AngorKeyScriptHex { get; set; } public long BlockIndex { get; set; } public string TransactionId { get; set; } //TODO check if this should be a lookup diff --git a/src/Blockcore.Indexer.Angor/Sync/SyncTasks/ProjectsSyncRunner.cs b/src/Blockcore.Indexer.Angor/Sync/SyncTasks/ProjectsSyncRunner.cs index 1f1604f..c6dda61 100644 --- a/src/Blockcore.Indexer.Angor/Sync/SyncTasks/ProjectsSyncRunner.cs +++ b/src/Blockcore.Indexer.Angor/Sync/SyncTasks/ProjectsSyncRunner.cs @@ -140,7 +140,7 @@ public override async Task OnExecute() AngorKeyScriptHex = angorKey.WitHash.ScriptPubKey.ToHex(), BlockIndex = output.BlockIndex, FounderKey = parsedData.FounderPubKey.ToHex(), - NosrtEventId = parsedData.keyType == 1 ? parsedData.NostrEventId : string.Empty, + NostrEventId = parsedData.keyType == 1 ? parsedData.NostrEventId : string.Empty, AddressOnFeeOutput = angorFeeOutput.Address }; }