Skip to content

Commit

Permalink
Update code for breaking changes
Browse files Browse the repository at this point in the history
  • Loading branch information
hu55a1n1 committed May 29, 2024
1 parent 0afa631 commit 3a154ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion relayer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ pub fn tx_bytes(
let signer_info = SignerInfo::single_direct(Some(tm_pubkey.into()), sequence_number);
let auth_info = signer_info.auth_info(Fee::from_amount_and_gas(amount, gas));
let sign_doc = SignDoc::new(&tx_body, &auth_info, chain_id, account_number)?;
let tx_signed = sign_doc.sign(&SigningKey::from_bytes(&secret.serialize()).unwrap())?;
let tx_signed = sign_doc.sign(&SigningKey::from_slice(&secret.serialize()).unwrap())?;
Ok(tx_signed.to_bytes()?)
}

Expand Down

0 comments on commit 3a154ae

Please sign in to comment.