Skip to content

Commit

Permalink
Use treasury account (#1443)
Browse files Browse the repository at this point in the history
* Use treasury account

* Format
  • Loading branch information
aurexav authored Mar 7, 2024
1 parent 807a683 commit f01b4ff
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pallet/staking/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1329,9 +1329,10 @@ where
.unwrap_or_default(),
signature,
};
// b"sc/ktstk"
let sender =
H160([115, 99, 47, 107, 116, 115, 116, 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]);
// Treasury account.
let sender = H160([
109, 111, 100, 108, 100, 97, 47, 116, 114, 115, 114, 121, 0, 0, 0, 0, 0, 0, 0, 0,
]);

if let Err(e) = <darwinia_ethtx_forwarder::Pallet<T>>::forward_transact(
ForwardEthOrigin::ForwardEth(sender).into(),
Expand Down

0 comments on commit f01b4ff

Please sign in to comment.