|
|
@ -27,7 +27,7 @@ describe('Transaction Controller', function () { |
|
|
|
networkStore: new ObservableStore(currentNetworkId), |
|
|
|
networkStore: new ObservableStore(currentNetworkId), |
|
|
|
txHistoryLimit: 10, |
|
|
|
txHistoryLimit: 10, |
|
|
|
blockTracker: { getCurrentBlock: noop, on: noop, once: noop }, |
|
|
|
blockTracker: { getCurrentBlock: noop, on: noop, once: noop }, |
|
|
|
ethStore: { getState: noop }, |
|
|
|
accountTracker: { getState: noop }, |
|
|
|
signTransaction: (ethTx) => new Promise((resolve) => { |
|
|
|
signTransaction: (ethTx) => new Promise((resolve) => { |
|
|
|
ethTx.sign(privKey) |
|
|
|
ethTx.sign(privKey) |
|
|
|
resolve() |
|
|
|
resolve() |
|
|
@ -431,4 +431,4 @@ describe('Transaction Controller', function () { |
|
|
|
}).catch(done) |
|
|
|
}).catch(done) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
}) |
|
|
|