Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
leolambo committed May 9, 2024
1 parent 3194998 commit 8c859cc
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/bitcore-wallet-client/test/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2456,7 +2456,6 @@ describe('client API', function() {
};
clients[0].getUtxos(opts, (err, utxos) => {
should.not.exist(err);
console.log('(utxos)', utxos, '(addresses)', addresses, '(client)', clients[0]);
utxos.length.should.equal(1);
_.sumBy(utxos, 'satoshis').should.equal(1 * 1e8);
done();
Expand Down
2 changes: 0 additions & 2 deletions packages/bitcore-wallet-service/src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1833,9 +1833,7 @@ export class WalletService implements IWalletService {
} catch (ex) {
return cb(null, []);
}
console.log('(addrObj)', addrObj.network.name, wallet.network);
if (!Utils.compareNetworks(addrObj.network.name.toLowerCase(), wallet.network.toLowerCase(), wallet.chain)) {
console.log('gotcha');
return cb(null, []);
}

Expand Down

0 comments on commit 8c859cc

Please sign in to comment.