Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(provider: Provider, signer: Wallet) {
this.provider = provider;
this.provider.middleware.request.use(
util.formatOutgoingTx,
RPCMethod.CreateTransaction,
);
this.signer = signer;
}
constructor(provider: Provider, signer: Wallet) {
this.provider = provider;
this.provider.middleware.request.use(
util.formatOutgoingTx,
RPCMethod.CreateTransaction,
);
this.signer = signer;
}