Skip to content

Commit 6a5986f

Browse files
Fix on CBDC type Error
1 parent 97bea30 commit 6a5986f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

examples/cactus-example-cbdc-bridging-backend/src/main/typescript/infrastructure/cbdc-besu-environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ export class BesuEnvironment {
426426
id: BesuEnvironment.BESU_ASSET_ID,
427427
referenceId: BesuEnvironment.BESU_ASSET_REFERENCE_ID,
428428
amount,
429-
tokenType: TokenType.NonstandardFungible,
429+
tokenType: TokenType.Fungible,
430430
networkId: {
431431
id: BesuEnvironment.BESU_NETWORK_ID,
432432
ledgerType: NetworkIdLedgerTypeEnum.Besu2X,

examples/cactus-example-cbdc-bridging-backend/src/main/typescript/infrastructure/cbdc-bridging-app-dummy-infrastructure.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -407,7 +407,7 @@ export class CbdcBridgingAppDummyInfrastructure {
407407
id: BesuEnvironment.BESU_NETWORK_ID,
408408
ledgerType: LedgerType.Besu2X,
409409
},
410-
TokenType.NonstandardFungible,
410+
TokenType.Fungible,
411411
);
412412

413413
if (!reqApproveBesuAddress?.data.approveAddress) {
@@ -429,7 +429,7 @@ export class CbdcBridgingAppDummyInfrastructure {
429429
id: FabricEnvironment.FABRIC_NETWORK_ID,
430430
ledgerType: LedgerType.Fabric2,
431431
},
432-
TokenType.NonstandardFungible,
432+
TokenType.Fungible,
433433
);
434434

435435
if (!reqApproveFabricAddress?.data.approveAddress) {

examples/cactus-example-cbdc-bridging-backend/src/main/typescript/infrastructure/cbdc-fabric-environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ export class FabricEnvironment {
475475
id: FabricEnvironment.FABRIC_ASSET_ID,
476476
referenceId: FabricEnvironment.FABRIC_ASSET_REFERENCE_ID,
477477
amount,
478-
tokenType: TokenType.NonstandardFungible,
478+
tokenType: TokenType.Fungible,
479479
networkId: {
480480
id: FabricEnvironment.FABRIC_NETWORK_ID,
481481
ledgerType: NetworkIdLedgerTypeEnum.Fabric2,

0 commit comments

Comments
 (0)