diff --git a/paytest/paytest.py b/paytest/paytest.py index 104aba8..fe69aee 100755 --- a/paytest/paytest.py +++ b/paytest/paytest.py @@ -288,7 +288,7 @@ def on_htlc_accepted(onion, htlc, request, plugin, *args, **kwargs): ( request, total, - int(Millisatoshi(onion["forward_amount"])), + int(Millisatoshi(onion["forward_msat"])), shared_secret, generate_keyset(shared_secret), )