Skip to content

Commit

Permalink
remove second generic argument for FileFile
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-orlovsky committed Jan 30, 2025
1 parent 9ad405e commit 182e8a4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions examples/Transfer.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
- contractId: contract:qKpMlzOe-Imn6ysZ-a8JjG2p-WHWvaFm-BWMiPi3-_LvnfRw
- contractId: contract:G2KKVrys-4zQs3fu-yGt_7dH-A~IJUVA-6TURwEs-3fZUy3E
method: transfer
reading: []
using:
- addr: L28_t0y5~n3eYz4hR40Vt3rRaH9PptXJragTHTvZTCU:0
- addr: iX33C_EhQPmp0pRj0VslnKqHTW2SJ53V5SEefJUclpE:0
outpoint: b7116550736fbe5d3e234d0141c6bc8d1825f94da78514a3cede5674e9a5eae9:1
val: 10000
global: []
owned:
- name: owned
seal: at:5WIb5EMY-RCLbO3Wq-hGdddRP4-IeCQzP1y-S5H_UKzd-ViYmlA
seal: at:FWKMBVDc-NBk8dAZA-tYGt2HIP-MtzSRO17-8g3QvRIN-nuPjug
data: 10
- name: owned
seal: null
Expand Down
2 changes: 1 addition & 1 deletion examples/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ $RGB complete -w alice examples/transfer.pfab examples/transfer.psbt || exit 1

rm examples/transfer.rgb
$RGB consign DemoToken -t "$AUTH_TOKEN" examples/transfer.rgb || exit 1
$RGB state -go -w alice

$RGB_2 accept -w bob examples/transfer.rgb || exit 1

$RGB_2 state -go -w bob
$RGB state -go -w alice
3 changes: 1 addition & 2 deletions src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ pub mod file {

use super::*;

pub type RgbDirRuntime =
RgbRuntime<FileSupply, FilePile<WTxoSeal, TxoSeal>, DirExcavator<WTxoSeal>>;
pub type RgbDirRuntime = RgbRuntime<FileSupply, FilePile<WTxoSeal>, DirExcavator<WTxoSeal>>;

pub trait ConsignmentStream {
fn write(self, writer: impl io::Write) -> io::Result<()>;
Expand Down

0 comments on commit 182e8a4

Please sign in to comment.