Fix fee mismatch on snapshot deserialize (#12697)

Co-authored-by: Carl Lin <carl@solana.com>
This commit is contained in:
carllin
2020-10-08 23:44:41 -07:00
committed by GitHub
parent 81489ccb76
commit c879e7c1ad
9 changed files with 57 additions and 57 deletions

View File

@@ -113,7 +113,7 @@ pub type Epoch = u64;
#[wasm_bindgen]
#[repr(transparent)]
#[derive(Serialize, Deserialize, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
#[derive(Serialize, Debug, Deserialize, Clone, Copy, Eq, PartialEq, Ord, PartialOrd, Hash)]
pub struct Pubkey([u8; 32]);
#[wasm_bindgen]
@@ -164,7 +164,7 @@ impl Stake {
}
#[wasm_bindgen]
#[derive(Serialize, Deserialize, PartialEq, Clone, Copy)]
#[derive(Serialize, Debug, Deserialize, PartialEq, Clone, Copy)]
pub struct Delegation {
/// to whom the stake is delegated
voter_pubkey: Pubkey,