Simplify remote wallet (#8249)

automerge
This commit is contained in:
Greg Fitzgerald
2020-02-12 15:38:51 -07:00
committed by GitHub
parent 127553ce4b
commit 741d148a0d
4 changed files with 16 additions and 27 deletions

View File

@@ -208,6 +208,10 @@ impl Message {
)
}
pub fn serialize(&self) -> Vec<u8> {
bincode::serialize(self).unwrap()
}
pub fn program_ids(&self) -> Vec<&Pubkey> {
self.instructions
.iter()