mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-24 01:24:26 +01:00
bkpr: new method, "is_external_account"
Utility method to figure out if an account is "external"
This commit is contained in:
@@ -30,3 +30,8 @@ bool is_channel_account(const struct account *acct)
|
||||
return !streq(acct->name, WALLET)
|
||||
&& !streq(acct->name, "external");
|
||||
}
|
||||
|
||||
bool is_external_account(const struct account *acct)
|
||||
{
|
||||
return streq(acct->name, "external");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user