diff --git a/wallet/wallet.h b/wallet/wallet.h index 6cb4b1e6c..261a15207 100644 --- a/wallet/wallet.h +++ b/wallet/wallet.h @@ -17,6 +17,7 @@ #include #include #include +#include enum onion_type; struct amount_msat; @@ -171,6 +172,7 @@ struct forwarding { struct amount_msat msat_in, msat_out, fee; struct sha256_double *payment_hash; enum forward_status status; + enum onion_type failcode; struct timeabs received_time; /* May not be present if the HTLC was not resolved yet. */ struct timeabs *resolved_time;