We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2a92d commit d9a0bf3Copy full SHA for d9a0bf3
src/model/account/PublicAccount.ts
@@ -14,7 +14,7 @@
14
* limitations under the License.
15
*/
16
17
-import { KeyPair, convert } from 'nem2-library';
+import { convert, KeyPair } from 'nem2-library';
18
import { NetworkType } from '../blockchain/NetworkType';
19
import { Address } from './Address';
20
@@ -89,7 +89,7 @@ export class PublicAccount {
89
// Convert to Uint8Array
90
convertedData = convert.hexToUint8(convertedData);
91
92
- return KeyPair.verify(publicAccount.publicKey, convertedData, convertedSignature);
+ return KeyPair.verify(convert.hexToUint8(publicAccount.publicKey), convertedData, convertedSignature);
93
}
94
95
/**
0 commit comments