Skip to content

Commit

Permalink
toolbox
Browse files Browse the repository at this point in the history
  • Loading branch information
benjlevesque committed Nov 13, 2023
1 parent 96b854b commit 42aaac9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/toolbox/src/create-request.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { EthereumPrivateKeySignatureProvider } from '@requestnetwork/epk-signature';
import { Request, RequestNetwork, Types } from '@requestnetwork/request-client.js';
import { AxiosRequestConfig } from 'axios';

export default {
createTestRequest,
Expand All @@ -15,10 +14,7 @@ export default {
*
* @returns The created request
*/
function createTestRequest(
expectedAmount = '1000',
nodeConnectionConfig: AxiosRequestConfig = {},
): Promise<Request> {
function createTestRequest(expectedAmount = '1000', nodeConnectionConfig = {}): Promise<Request> {
const signatureProvider = new EthereumPrivateKeySignatureProvider({
method: Types.Signature.METHOD.ECDSA,
privateKey: '0xc87509a1c067bbde78beb793e6fa76530b6382a4c0241e5e4a9ec0a0f44dc0d3',
Expand Down

0 comments on commit 42aaac9

Please sign in to comment.