summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-03-18 16:47:10 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-03-18 16:47:10 +0530
commit019486789b0b7d7c043619129b0c8cfaef54007f (patch)
tree376c74596e3af5c5255850ece02caf8c64672ed8
parent420b0b9d1432c06de50e96cdbb305c4a70063644 (diff)
downloaddocs-019486789b0b7d7c043619129b0c8cfaef54007f.tar.gz
docs-019486789b0b7d7c043619129b0c8cfaef54007f.tar.bz2
docs-019486789b0b7d7c043619129b0c8cfaef54007f.zip
make types nicer
-rw-r--r--core/api-exchange.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 06130e55..0b039d38 100644
--- 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;
}