commit 019486789b0b7d7c043619129b0c8cfaef54007f
parent 420b0b9d1432c06de50e96cdbb305c4a70063644
Author: Florian Dold <florian.dold@gmail.com>
Date: Wed, 18 Mar 2020 16:47:10 +0530
make types nicer
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
@@ -1110,16 +1110,18 @@ in using this API.
.. ts:def:: RecoupWithdrawalConfirmation
- // type of response provided if refreshed was false.
interface RecoupWithdrawalConfirmation {
+ // Tag to distinguish the RecoupConfirmation response type
+ refreshed: false;
// public key of the reserve that will receive the recoup,
reserve_pub: EddsaPublicKey;
}
.. ts:def:: RecoupRefreshConfirmation
- // type of response provided if refreshed was true.
interface RecoupRefreshConfirmation {
+ // Tag to distinguish the RecoupConfirmation response type
+ refreshed: true;
// public key of the old coin that will receive the recoup
old_coin_pub: EddsaPublicKey;
}