From f88acaa072d591c49f7c663da17669453f63a1eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Drwi=C4=99ga?= Date: Wed, 6 Jan 2021 18:20:26 +0100 Subject: [PATCH] Add more documentation for the TargetAccount variant. (#625) --- bridges/modules/call-dispatch/src/lib.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bridges/modules/call-dispatch/src/lib.rs b/bridges/modules/call-dispatch/src/lib.rs index 09e49702656f..19f1224c906c 100644 --- a/bridges/modules/call-dispatch/src/lib.rs +++ b/bridges/modules/call-dispatch/src/lib.rs @@ -66,6 +66,16 @@ pub enum CallOrigin, Call::Transfer(X, 5))` + /// The owner of `some-source-account-id` can send that message multiple times, which would + /// result with multiple transfer calls being dispatched on the target chain. + /// So please, NEVER USE YOUR PRIVATE KEY TO SIGN SOMETHING YOU DON'T FULLY UNDERSTAND! TargetAccount(SourceChainAccountId, TargetChainAccountPublic, TargetChainSignature), /// Call is sent by the `SourceChainAccountId` on the source chain. On the target chain it is