mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-16 07:37:06 +00:00
Fix everything.
This commit is contained in:
1 parent
a9c864e098
commit
ace1387076
10 files changed
+154
-55
No files matched your search
@@ -20,6 +20,7 @@
|
||||
use primitives::{Block, BlockNumber, Hash, UncheckedTransaction, TxOrder, Hashable};
|
||||
use runtime_support::mem;
|
||||
use runtime_support::prelude::*;
|
||||
use runtime_support::print;
|
||||
use storable::Storable;
|
||||
use keyedvec::KeyedVec;
|
||||
use environment::with_env;
|
||||
@@ -84,6 +85,7 @@ pub fn execute_block(mut block: Block) {
|
||||
|
||||
/// Execute a given transaction.
|
||||
pub fn execute_transaction(utx: &UncheckedTransaction) {
|
||||
print(&b"HERE"[..]);
|
||||
// Verify the signature is good.
|
||||
assert!(utx.ed25519_verify(), "All transactions should be properly signed");
|
||||
|
||||
|
||||
Reference in new issue
Block a user