We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fca22a5 commit 15e35aaCopy full SHA for 15e35aa
hermes/src/store.rs
@@ -71,7 +71,8 @@ impl Store {
71
pub async fn store_update(&self, update: Update) -> Result<()> {
72
let slot = match update {
73
Update::Vaa(vaa_bytes) => {
74
- let vaa = serde_wormhole::from_slice::<Vaa<Vec<u8>>>(&vaa_bytes)?;
+ let vaa =
75
+ serde_wormhole::from_slice::<Vaa<&serde_wormhole::RawMessage>>(&vaa_bytes)?;
76
let payload = WormholePayload::try_from_bytes(&vaa.payload, &vaa_bytes)?;
77
78
// FIXME: Validate the VAA
0 commit comments