This repository has been archived by the owner on Mar 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
264 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
|
||
module.exports = BuySell; | ||
|
||
// var buySell = new Blockchain.BuySell(Blockchain.MyWallet.wallet); | ||
function BuySell (wallet) { | ||
this._wallet = wallet; | ||
|
||
// Stop if 2nd password is enabled | ||
if (wallet.external === null) return; | ||
|
||
// Add Coinify if not already added: | ||
if (!this._wallet.external.coinify) this._wallet.external.addCoinify(); | ||
} | ||
|
||
Object.defineProperties(BuySell.prototype, { | ||
'exchanges': { | ||
configurable: false, | ||
get: function () { | ||
if (this._wallet.external === null) return; | ||
return { | ||
coinify: this._wallet.external.coinify | ||
}; | ||
} | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
Oops, something went wrong.