mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
Add comment about amount field
This commit is contained in:
@@ -165,6 +165,8 @@ pub struct StandardDepositDataJson {
|
|||||||
pub pubkey: PublicKeyBytes,
|
pub pubkey: PublicKeyBytes,
|
||||||
#[serde(with = "hash256_without_0x_prefix")]
|
#[serde(with = "hash256_without_0x_prefix")]
|
||||||
pub withdrawal_credentials: Hash256,
|
pub withdrawal_credentials: Hash256,
|
||||||
|
/// The `amount` field is *not* quoted (i.e., a string) like most other `u64` fields in the
|
||||||
|
/// consensus specs, it's a simple integer.
|
||||||
pub amount: u64,
|
pub amount: u64,
|
||||||
#[serde(with = "signature_bytes_without_0x_prefix")]
|
#[serde(with = "signature_bytes_without_0x_prefix")]
|
||||||
pub signature: SignatureBytes,
|
pub signature: SignatureBytes,
|
||||||
|
|||||||
Reference in New Issue
Block a user