From 3ffbbb33d67de2cfe500ea106b96d473b4f1e6e1 Mon Sep 17 00:00:00 2001
From: Siddharth Suresh <siddharth@stellar.org>
Date: Mon, 26 Sep 2022 15:19:08 -0700
Subject: [PATCH] move AccountID to avoid circular reference

---
 Stellar-ledger-entries.x | 1 -
 Stellar-types.x          | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/Stellar-ledger-entries.x b/Stellar-ledger-entries.x
index 046f4a5..9caf8bd 100644
--- a/Stellar-ledger-entries.x
+++ b/Stellar-ledger-entries.x
@@ -8,7 +8,6 @@
 namespace stellar
 {
 
-typedef PublicKey AccountID;
 typedef opaque Thresholds[4];
 typedef string string32<32>;
 typedef string string64<64>;
diff --git a/Stellar-types.x b/Stellar-types.x
index c3a1ebe..a6f9bf9 100644
--- a/Stellar-types.x
+++ b/Stellar-types.x
@@ -79,6 +79,7 @@ typedef opaque Signature<64>;
 typedef opaque SignatureHint[4];
 
 typedef PublicKey NodeID;
+typedef PublicKey AccountID;
 
 struct Curve25519Secret
 {