Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omni.getnewaddress #11

Open
pblaravel opened this issue Jan 24, 2019 · 0 comments
Open

Omni.getnewaddress #11

pblaravel opened this issue Jan 24, 2019 · 0 comments

Comments

@pblaravel
Copy link

This method is not work:
Omni.getnewaddress = function(account, cb){
if(account == null|| account == undefined){
client.cmd('getnewaddress',function(err,address,resHeaders){
if (err) return console.log(err)
console.log("created address:"+address)
return cb(address)
})}else{
client.cmd('getnewaddress', account, function(err, address, resHeaders) {
if (err) return console.log(err)
console.log(address);
return cb(address)
})
}
};

RPC give responce -> Error: Method not found

OmniCore bitcoin config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant