mirror of
https://github.com/XRPLF/clio.git
synced 2026-06-02 16:26:43 +00:00
style: Update pre-commit hooks (#2968)
Co-authored-by: mathbunnyru <12270691+mathbunnyru@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
b9ee5187b6
commit
a4d6caf8a7
@@ -257,12 +257,14 @@ SubscriptionSource::handleMessage(std::string const& message)
|
||||
if (object.contains(JS(transaction)) and !object.contains(JS(meta))) {
|
||||
LOG(log_.debug()) << "Forwarding proposed transaction: " << object;
|
||||
subscriptions_->forwardProposedTransaction(object);
|
||||
} else if (object.contains(JS(type)) &&
|
||||
object.at(JS(type)) == kJS_VALIDATION_RECEIVED) {
|
||||
} else if (
|
||||
object.contains(JS(type)) && object.at(JS(type)) == kJS_VALIDATION_RECEIVED
|
||||
) {
|
||||
LOG(log_.debug()) << "Forwarding validation: " << object;
|
||||
subscriptions_->forwardValidation(object);
|
||||
} else if (object.contains(JS(type)) &&
|
||||
object.at(JS(type)) == kJS_MANIFEST_RECEIVED) {
|
||||
} else if (
|
||||
object.contains(JS(type)) && object.at(JS(type)) == kJS_MANIFEST_RECEIVED
|
||||
) {
|
||||
LOG(log_.debug()) << "Forwarding manifest: " << object;
|
||||
subscriptions_->forwardManifest(object);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user