mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Have acknowledge_block take in the results of the InInstructions executed
If any failed, the scanner now creates a Burn for the return.
This commit is contained in:
@@ -8,7 +8,7 @@ use serai_primitives::{ExternalAddress, Balance};
|
||||
use crate::Id;
|
||||
|
||||
/// An address on the external network.
|
||||
pub trait Address: Send + Sync + TryFrom<ExternalAddress> {
|
||||
pub trait Address: Send + Sync + Into<ExternalAddress> + TryFrom<ExternalAddress> {
|
||||
/// Write this address.
|
||||
fn write(&self, writer: &mut impl io::Write) -> io::Result<()>;
|
||||
/// Read an address.
|
||||
|
||||
Reference in New Issue
Block a user