File tree 1 file changed +2
-2
lines changed
packages/cardano-services-client/src/DRepProvider
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,8 +11,8 @@ export class BlockfrostDRepProvider extends BlockfrostProvider implements DRepPr
11
11
12
12
async getDRepInfo ( { id } : GetDRepInfoArgs ) : Promise < DRepInfo > {
13
13
try {
14
- const cip105DRepId = Cardano . DRepID . toCip105DRepID ( id ) ; // Blockfrost only supports CIP-105 DRep IDs
15
- const response = await this . request < Responses [ 'drep' ] > ( `governance/dreps/${ cip105DRepId . toString ( ) } ` ) ;
14
+ const cip129DRepId = Cardano . DRepID . toCip129DRepID ( id ) . toString ( ) ;
15
+ const response = await this . request < Responses [ 'drep' ] > ( `governance/dreps/${ cip129DRepId } ` ) ;
16
16
const amount = BigInt ( response . amount ) ;
17
17
const activeEpoch = response . active_epoch ? Cardano . EpochNo ( response . active_epoch ) : undefined ;
18
18
const active = response . active ;
You can’t perform that action at this time.
0 commit comments