mirror of
https://github.com/aljazceru/nutshell.git
synced 2025-12-22 19:34:18 +01:00
comment
This commit is contained in:
@@ -291,6 +291,7 @@ class LedgerAPI:
|
|||||||
payloads, rs = self._construct_outputs(amounts, secrets)
|
payloads, rs = self._construct_outputs(amounts, secrets)
|
||||||
split_payload = SplitRequest(proofs=proofs, amount=amount, outputs=payloads)
|
split_payload = SplitRequest(proofs=proofs, amount=amount, outputs=payloads)
|
||||||
|
|
||||||
|
# construct payload
|
||||||
def _splitrequest_include_fields(proofs):
|
def _splitrequest_include_fields(proofs):
|
||||||
"""strips away fields from the model that aren't necessary for the /split"""
|
"""strips away fields from the model that aren't necessary for the /split"""
|
||||||
proofs_include = {"id", "amount", "secret", "C", "script"}
|
proofs_include = {"id", "amount", "secret", "C", "script"}
|
||||||
|
|||||||
Reference in New Issue
Block a user