(funding_amt_str)
| 10 | |
| 11 | |
| 12 | def run_check(funding_amt_str): |
| 13 | if Millisatoshi(funding_amt_str).to_satoshi() % 2 == 1: |
| 14 | return {'result': 'reject', 'error_message': "I don't like odd amounts"} |
| 15 | |
| 16 | return {'result': 'continue'} |
| 17 | |
| 18 | |
| 19 | @plugin.hook('openchannel') |
no test coverage detected