stellar / go

Stellar's public monorepo of go code
https://stellar.org/developers
Apache License 2.0
1.3k stars 499 forks source link

Account resource - document signers array #1544

Open tomerweller opened 5 years ago

tomerweller commented 5 years ago

The signers array contains all signers with a positive weight + the master signer (even if's weight is 0)

ire-and-curses commented 5 years ago

What array are you referring to? Response from Horizon?

tomerweller commented 5 years ago

Yeah, specifically this: https://www.stellar.org/developers/horizon/reference/resources/account.html I imagine the SDK uses the same Account struct, so I'd sweep anywhere in the code that touches the it to clarify.

ire-and-curses commented 5 years ago

Gotcha. Yeah I guess this is another consequence of the abstraction of pretending the master signer is a signer like the others (ordinary signers are removed if set to weight 0).