mirror of
https://github.com/logos-blockchain/logos-execution-zone.git
synced 2026-05-18 14:09:35 +00:00
use instruction_words from read in pinata
This commit is contained in:
parent
8c9b46b0df
commit
8e1c53bd4e
@ -52,7 +52,7 @@ fn main() {
|
|||||||
pre_states,
|
pre_states,
|
||||||
instruction: solution,
|
instruction: solution,
|
||||||
},
|
},
|
||||||
_,
|
instruction_words,
|
||||||
) = read_nssa_inputs::<Instruction>();
|
) = read_nssa_inputs::<Instruction>();
|
||||||
|
|
||||||
let [pinata, winner] = match pre_states.try_into() {
|
let [pinata, winner] = match pre_states.try_into() {
|
||||||
@ -73,7 +73,7 @@ fn main() {
|
|||||||
winner_post.balance += PRIZE;
|
winner_post.balance += PRIZE;
|
||||||
|
|
||||||
write_nssa_outputs(
|
write_nssa_outputs(
|
||||||
to_vec(&solution).unwrap(),
|
instruction_words,
|
||||||
vec![pinata, winner],
|
vec![pinata, winner],
|
||||||
vec![pinata_post, winner_post],
|
vec![pinata_post, winner_post],
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user