Skip to content

Commit

Permalink
fix address serializer
Browse files Browse the repository at this point in the history
  • Loading branch information
twwu123 committed Sep 3, 2024
1 parent 4205fb5 commit d097448
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mesh-core-csl/src/utils/address.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ export const serialzeAddress = (
);

const addressObj = isPaymentScript
? pubKeyAddress(paymentHash, stakeHash, isStakeScript)
: scriptAddress(paymentHash, stakeHash, isStakeScript);
? scriptAddress(paymentHash, stakeHash, isStakeScript)
: pubKeyAddress(paymentHash, stakeHash, isStakeScript);
return serializeAddressObj(addressObj, networkId);
};

Expand Down

0 comments on commit d097448

Please sign in to comment.