Skip to content

Commit

Permalink
feat(@fireblocks/recovery-utility): ✨ add jetton support
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerHFB committed Dec 16, 2024
1 parent 2151ed0 commit 1d34bf9
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import {
getLogger,
sanatize,
useOfflineQuery,
getDerivationMapKey,
} from '@fireblocks/recovery-shared';
import { AssetConfig, getAssetConfig, isNativeAssetId } from '@fireblocks/asset-config';
import { LOGGER_NAME_RELAY } from '@fireblocks/recovery-shared/constants';
Expand Down Expand Up @@ -150,7 +151,7 @@ export const CreateTransaction = ({ asset, inboundRelayParams, setSignTxResponse

const fromAddress = values.fromAddress ?? defaultValues.fromAddress;

const derivation = wallet?.derivations?.get(`${asset?.id}-${fromAddress}`);
const derivation = wallet?.derivations?.get(getDerivationMapKey(asset?.id, fromAddress));

// TODO: Show both original balance and adjusted balance in create tx UI

Expand Down

0 comments on commit 1d34bf9

Please sign in to comment.