Skip to content
This repository has been archived by the owner on Oct 24, 2022. It is now read-only.

Commit

Permalink
Merge pull request #17 from synonymdev/lint-fixes
Browse files Browse the repository at this point in the history
Lint error fixes
  • Loading branch information
Jasonvdb authored Apr 15, 2021
2 parents 1490445 + 09a6381 commit a01f8b5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions example/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const App = () => {
}

const backupBytes = res.value.multiChanBackup.multiChanBackup;
console.log('Backup required');
console.log(`Backup required (${backupBytes.length} bytes)`);
},
() => {},
);
Expand Down Expand Up @@ -109,7 +109,7 @@ const App = () => {
Wallet unlocked: {emoji(lndState.walletUnlocked)}
</Text>
<Text style={styles.state}>Ready: {emoji(lndState.grpcReady)}</Text>
<Text style={{margin: 10, textAlign: 'center'}}>{message}</Text>
<Text style={styles.message}>{message}</Text>

{lndState.lndRunning ? (
<Button
Expand Down Expand Up @@ -446,6 +446,10 @@ const styles = StyleSheet.create({
state: {
textAlign: 'center',
},
message: {
margin: 10,
textAlign: 'center',
},
});

export default App;
2 changes: 1 addition & 1 deletion src/lnd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
import { lnrpc } from './rpc';
import { lnrpc as walletunlocker_lnrpc } from './walletunlocker';
import LndConf from './lnd.conf';
import { bytesToHexString, bytesToString, hexStringToBytes, stringToBytes } from './helpers';
import { bytesToHexString, hexStringToBytes, stringToBytes } from './helpers';
import base64 from 'base64-js';

class LND {
Expand Down

0 comments on commit a01f8b5

Please sign in to comment.