mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 22:04:44 +00:00
Add comment about amount field
This commit is contained in:
@@ -165,6 +165,8 @@ pub struct StandardDepositDataJson {
|
||||
pub pubkey: PublicKeyBytes,
|
||||
#[serde(with = "hash256_without_0x_prefix")]
|
||||
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,
|
||||
#[serde(with = "signature_bytes_without_0x_prefix")]
|
||||
pub signature: SignatureBytes,
|
||||
|
||||
Reference in New Issue
Block a user