-
Notifications
You must be signed in to change notification settings - Fork 82
Open
Description
I am trying to import the library as import { verify } from 'bitcoinjs-message'; and i get a buffer error. Any ideas? I am using reactjs.
Error: Uncaught TypeError: can't access property "from", Buffer2 is undefined
Code:
import {verify} from 'bitcoinjs-message';
export const verifySignature = (message, address, signature) => {
if (verify(message, address, signature)) {
alert('Signature verified')
} else {
alert('Signature not verified')
}
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels