(&self, timestamp_secs: u64, signature: String)
| 379 | } |
| 380 | } |
| 381 | |
| 382 | fn sign_deposit( |
| 383 | key_store_path: &str, |
| 384 | deposit_signature_domain: Digest, |
| 385 | amount: u64, |
| 386 | address: String, |
| 387 | ) -> RpcResult<DepositTransactionResponse> { |
| 388 | let mut withdrawal_credentials = [0u8; 32]; |
| 389 | withdrawal_credentials[0] = 0x01; |