@socket.tech/dl-common 1.0.3-test.24 → 1.0.3-test.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,7 +24,7 @@ class Adapter extends abstract_signer_1.Signer {
|
|
|
24
24
|
async signMessage(message) {
|
|
25
25
|
const digest = (0, hash_1.hashMessage)(message);
|
|
26
26
|
const signature = await this.signer.sign(Buffer.from(digest.slice(2), "hex"));
|
|
27
|
-
return signature.toString();
|
|
27
|
+
return "0x" + signature.toString();
|
|
28
28
|
}
|
|
29
29
|
async signTransaction(deferrableTransaction) {
|
|
30
30
|
const transaction = await (0, properties_1.resolveProperties)(deferrableTransaction);
|