Skip to content

Commit 8a790b0

Browse files
committed
chore: fix some comments and spelling
1 parent f2c51e9 commit 8a790b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/core/src/Serialization/Certificates/PoolRegistration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export class PoolRegistration {
170170
* @param cert core PoolRegistrationCertificate object.
171171
*/
172172
static fromCore(cert: Cardano.PoolRegistrationCertificate) {
173-
return new PoolRegistration(PoolParams.fromCore(cert.poolParameters)); // TODO: Core type does not support script hash as credential, fix?
173+
return new PoolRegistration(PoolParams.fromCore(cert.poolParameters));
174174
}
175175

176176
/**

packages/projection/test/InMemory/storeStakePools.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { InMemory, Mappers, ProjectionEvent } from '../../src';
33
import { firstValueFrom, of } from 'rxjs';
44

55
describe('InMemory.storeStakePools', () => {
6-
it('adds pool updates and retirements on RollRorward, removes on RollBackward', async () => {
6+
it('adds pool updates and retirements on RollForward, removes on RollBackward', async () => {
77
const store = InMemory.createStore();
88
const project = async (
99
eventType: ChainSyncEventType,

packages/projection/test/operators/Mappers/certificates/withStakePools.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ describe('withStakePools', () => {
7070
expect(result.stakePools.retirements[0].epoch).toEqual(4);
7171
});
7272

73-
it("omits pool retirement if it's folowed by a pool registration", async () => {
73+
it("omits pool retirement if it's followed by a pool registration", async () => {
7474
const data: Mappers.WithCertificates & WithEpochNo = {
7575
certificates: [
7676
{

0 commit comments

Comments
 (0)