stellar / soroban-examples

Example Soroban Contracts
Apache License 2.0
65 stars 68 forks source link

Update all check_auth calls to use into_val on tuples #80

Closed sisuresh closed 2 years ago

sisuresh commented 2 years ago

Ex.

check_auth(
            ...
            vec![&e, nonce.into_val(&e), num.clone().into_val(&e)],
        );

should be

check_auth(
            ...
            (nonce, num.clone()).into_val(&e),
        );
sisuresh commented 2 years ago

This change requires an up to date SDK.

sisuresh commented 2 years ago

Closed by #85