Skip to content

Commit d2f754a

Browse files
committed
Replace unnecessary stringToHex calls with literal values
1 parent 8d4f1c8 commit d2f754a

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/chain/processor.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { z } from 'zod';
33
import {
44
encodeAbiParameters,
55
Hex,
6-
stringToHex,
76
ContractFunctionRevertedError,
87
ContractFunctionExecutionError,
98
BaseError,
@@ -613,9 +612,9 @@ export class ChainProcessor extends AsyncTask {
613612
}
614613

615614
return [
616-
stringToHex(''),
615+
'0x',
617616
encodeAbiParameters([{ type: 'string' }], [JSON.stringify(output)]),
618-
stringToHex(''),
617+
'0x',
619618
];
620619
}
621620
);

0 commit comments

Comments
 (0)