mirror of
https://github.com/logos-blockchain/lssa.git
synced 2026-01-04 14:23:11 +00:00
minor change
This commit is contained in:
parent
9d19183786
commit
43058193df
@ -18,7 +18,7 @@ impl Program {
|
||||
self.id
|
||||
}
|
||||
|
||||
pub fn serialize_instruction_data<T: Serialize>(
|
||||
pub fn serialize_instruction<T: Serialize>(
|
||||
instruction_data: T,
|
||||
) -> Result<InstructionData, NssaError> {
|
||||
to_vec(&instruction_data)
|
||||
|
||||
@ -21,7 +21,7 @@ impl Message {
|
||||
nonces: Vec<Nonce>,
|
||||
instruction: T,
|
||||
) -> Self {
|
||||
let instruction_data = Program::serialize_instruction_data(instruction).unwrap();
|
||||
let instruction_data = Program::serialize_instruction(instruction).unwrap();
|
||||
Self {
|
||||
program_id,
|
||||
addresses,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user