I hereby claim:
- I am xavierlepretre on github.
- I am xavierlepretre (https://keybase.io/xavierlepretre) on keybase.
- I have a public key whose fingerprint is A75D D98D B756 36FA AFE8 2BDD 78C5 1285 AAC6 B231
To claim this, I am signing this object:
| if (typeof(mist) !== "undefined") { | |
| mist.requestAccountPromise = function () { | |
| return new Promise (function (resolve, reject) { | |
| mist.requestAccount(function(e, account) { | |
| if(e != null) { | |
| reject(e); | |
| } else { | |
| resolve(account); | |
| } | |
| }); |
| web3.eth.getAccountsPromise = function () { | |
| return new Promise(function (resolve, reject) { | |
| web3.eth.getAccounts(function (e, accounts) { | |
| if (e != null) { | |
| reject(e); | |
| } else { | |
| resolve(accounts); | |
| } | |
| }); | |
| }); |
| const Promise = require("bluebird"); | |
| const sequentialPromise = require("./sequentialPromise.js"); | |
| /** | |
| * @param {!string | !Array.<!string>} txHash, a transaction hash or an array of transaction hashes. | |
| * @param {Number} interval, in seconds. | |
| * @returns {!Promise.<!object> | !Promise.<!Array.<!object>>} the receipt or an array of receipts. | |
| */ | |
| module.exports = function getTransactionReceiptMined(txHash, interval) { | |
| const self = this; |
I hereby claim:
To claim this, I am signing this object:
| import android.content.Context; | |
| import android.net.ConnectivityManager; | |
| import android.net.NetworkInfo; | |
| import android.support.test.InstrumentationRegistry; | |
| import org.junit.Assume; | |
| import org.junit.rules.TestRule; | |
| import org.junit.runner.Description; | |
| import org.junit.runners.model.Statement; |