Skip to content

Commit 87265a8

Browse files
committed
Fix typo in docs
1 parent 82f4ecc commit 87265a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1036,7 +1036,7 @@ impl<K: KVStore + Sync + Send + 'static> Node<K> {
10361036
.map_err(|_| Error::ChannelConfigUpdateFailed)
10371037
}
10381038

1039-
/// Send a payement given an invoice.
1039+
/// Send a payment given an invoice.
10401040
pub fn send_payment(&self, invoice: &Invoice) -> Result<PaymentHash, Error> {
10411041
let rt_lock = self.runtime.read().unwrap();
10421042
if rt_lock.is_none() {

0 commit comments

Comments
 (0)