Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/communication/communication.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
waitForTonomyTrxFinalization,
sendSafeWalletTransfer,
createAntelopeDid,
getSigner,
} from '@tonomy/tonomy-id-sdk';
import { tonomySigner } from '../signer';
import { ethers } from 'ethers';
Expand All @@ -28,7 +29,7 @@
import { Decimal } from 'decimal.js';
import Debug from 'debug';

const debug = Debug('tonomy-communication:communication.service');

Check warning on line 32 in src/communication/communication.service.ts

View workflow job for this annotation

GitHub Actions / tests

'debug' is assigned a value but never used

@Injectable()
export class CommunicationService {
Expand Down Expand Up @@ -207,7 +208,8 @@
`[Swap T->B: ${loggerId}]: Safe wallet transfer to Base address ${baseAddress} submitted with transaction hash ${trxHash}`,
);
} else {
const mintTrx = await getBaseTokenContract().transfer(
const signer = getSigner();
const mintTrx = await getBaseTokenContract(signer).transfer(
baseAddress,
ethAmount,
);
Expand Down
Loading