Skip to content

Commit

Permalink
fix: fee payer
Browse files Browse the repository at this point in the history
  • Loading branch information
metallicalfa2 committed Oct 25, 2021
1 parent 54b71fe commit 30e06b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controllers/TorusController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ export default class TorusController extends BaseController<TorusControllerConfi
}

getGaslessHost(feePayer: string): string | undefined {
if (!feePayer && feePayer === this.selectedAddress) return undefined;
if (!feePayer || feePayer === this.selectedAddress) return undefined;

const relayHost = this.state.RelayKeyHostMap[feePayer];
if (relayHost) {
Expand Down

0 comments on commit 30e06b3

Please sign in to comment.