Skip to content

Commit e4fc264

Browse files
committed
f Restore prior error message
1 parent 7168c49 commit e4fc264

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/ln/channelmanager.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2732,7 +2732,7 @@ where
27322732
let onion_packet = match onion_utils::construct_onion_packet(onion_payloads, onion_keys, prng_seed, payment_hash) {
27332733
Ok(packet) => packet,
27342734
Err(()) => {
2735-
return Err(APIError::InvalidRoute { err: "Failed to create onion packet".to_owned()});
2735+
return Err(APIError::InvalidRoute { err: "Route size too large considering onion data".to_owned()});
27362736
}
27372737
};
27382738

0 commit comments

Comments
 (0)