Skip to content

Commit

Permalink
Add commenting
Browse files Browse the repository at this point in the history
  • Loading branch information
0xzoz committed May 12, 2022
1 parent 904bde5 commit 067ac70
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/hdwallet-tallyho/src/adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ export class TallyHoAdapter {
return wallet;
}

/*
* Tally works the same way as metamask.
* This code is copied from the @metamask/detect-provider package
* @see https://www.npmjs.com/package/@metamask/detect-provider
*/
private async detectTallyProvider(): Promise<TallyHoEthereumProvider | null> {
let handled = false;

Expand Down

0 comments on commit 067ac70

Please sign in to comment.