Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
myxmaster committed Feb 10, 2025
1 parent 8429654 commit 807d04b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions stores/LSPStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default class LSPStore {
? this.settingsStore.settings.lsps1RestTestnet
: this.settingsStore.settings.lsps1RestMainnet;

private encodeMesage = (n: any) =>
private encodeMessage = (n: any) =>
Buffer.from(JSON.stringify(n)).toString('hex');

// Flow 2.0
Expand Down Expand Up @@ -579,7 +579,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer: this.getLSPSPubkey(),
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {},
Expand Down Expand Up @@ -670,7 +670,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer: this.getLSPSPubkey(),
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {
Expand Down Expand Up @@ -746,7 +746,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer,
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {
Expand Down Expand Up @@ -782,7 +782,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer: this.getLSPSPubkey(),
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {},
Expand Down Expand Up @@ -812,7 +812,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer: this.getLSPSPubkey(),
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {
Expand Down Expand Up @@ -849,7 +849,7 @@ export default class LSPStore {
this.sendCustomMessage({
peer,
type: CUSTOM_MESSAGE_TYPE,
data: this.encodeMesage({
data: this.encodeMessage({
jsonrpc: JSON_RPC_VERSION,
method,
params: {
Expand Down

0 comments on commit 807d04b

Please sign in to comment.