Use &[u8] for program address seeds rather then &str (#10744) (#11227)

(cherry picked from commit 73586c1aad)

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-07-27 19:32:21 +00:00
committed by GitHub
parent 2a7fc744f9
commit 7bb7b42356
9 changed files with 47 additions and 45 deletions

View File

@@ -110,7 +110,7 @@ fn process_instruction(
invoke_signed(
&invoked_instruction,
accounts,
&[&["You pass butter"], &["Lil'", "Bits"]],
&[&[b"You pass butter"], &[b"Lil'", b"Bits"]],
)?;
}