Skip to content

Commit

Permalink
Fix typo on the constructor name
Browse files Browse the repository at this point in the history
  • Loading branch information
joaovpmamede authored Jan 25, 2018
1 parent 271e243 commit 44a7bdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ $ composer require elementsproject/lightning-charge-client-php
require_once 'vendor/autoload.php';

// Initialize client
$charge = new LightingChargeClient('http://localhost:8009', '[TOKEN]');
$charge = new LightningChargeClient('http://localhost:8009', '[TOKEN]');

// Create invoice
$invoice = $charge->invoice([ 'msatoshi' => 50, 'metadata' => [ 'customer' => 'Satoshi', 'products' => [ 'potato', 'chips' ] ] ]);
Expand Down

0 comments on commit 44a7bdb

Please sign in to comment.