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

Commit a01f8b5

Browse files
authored
Merge pull request #17 from synonymdev/lint-fixes
Lint error fixes
2 parents 1490445 + 09a6381 commit a01f8b5

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

example/App.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ const App = () => {
8181
}
8282

8383
const backupBytes = res.value.multiChanBackup.multiChanBackup;
84-
console.log('Backup required');
84+
console.log(`Backup required (${backupBytes.length} bytes)`);
8585
},
8686
() => {},
8787
);
@@ -109,7 +109,7 @@ const App = () => {
109109
Wallet unlocked: {emoji(lndState.walletUnlocked)}
110110
</Text>
111111
<Text style={styles.state}>Ready: {emoji(lndState.grpcReady)}</Text>
112-
<Text style={{margin: 10, textAlign: 'center'}}>{message}</Text>
112+
<Text style={styles.message}>{message}</Text>
113113

114114
{lndState.lndRunning ? (
115115
<Button
@@ -446,6 +446,10 @@ const styles = StyleSheet.create({
446446
state: {
447447
textAlign: 'center',
448448
},
449+
message: {
450+
margin: 10,
451+
textAlign: 'center',
452+
},
449453
});
450454

451455
export default App;

src/lnd.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {
1212
import { lnrpc } from './rpc';
1313
import { lnrpc as walletunlocker_lnrpc } from './walletunlocker';
1414
import LndConf from './lnd.conf';
15-
import { bytesToHexString, bytesToString, hexStringToBytes, stringToBytes } from './helpers';
15+
import { bytesToHexString, hexStringToBytes, stringToBytes } from './helpers';
1616
import base64 from 'base64-js';
1717

1818
class LND {

0 commit comments

Comments
 (0)