allow callback in importKey.
This commit is contained in:
parent
d2df3dd534
commit
317ff8a6bd
@ -814,8 +814,8 @@ Wallet.prototype.dumpKey = function(options) {
|
||||
return bitcoindjs.walletDumpKey(options || {});
|
||||
};
|
||||
|
||||
Wallet.prototype.importKey = function(options) {
|
||||
return bitcoindjs.walletImportKey(options || {});
|
||||
Wallet.prototype.importKey = function(options, callback) {
|
||||
return bitcoindjs.walletImportKey(options || {}, callback);
|
||||
};
|
||||
|
||||
Wallet.prototype.keyPoolRefill = function(options) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user