Refactor controllers
This commit is contained in:
parent
33801e9587
commit
16091bd330
9 changed files with 50 additions and 47 deletions
|
|
@ -6,6 +6,10 @@ function FakeBlockchain(opts) {
|
|||
opts = opts || {};
|
||||
}
|
||||
|
||||
FakeBlockchain.prototype.getTransaction = function(txid, cb) {
|
||||
return cb(null, {txid: txid});
|
||||
};
|
||||
|
||||
FakeBlockchain.prototype.getTransactions = function(addresses, cb) {
|
||||
return cb(null, []);
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue