Skip to content
This repository has been archived by the owner on Jun 11, 2022. It is now read-only.

Commit

Permalink
oops, use TxAux instead of Tx
Browse files Browse the repository at this point in the history
  • Loading branch information
NicolasDP committed Dec 5, 2018
1 parent e8c3fe8 commit 7b07bd0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions protocol-tokio/src/protocol/codec/message.rs
@@ -1,7 +1,7 @@
use bytes::{BufMut, Bytes, BytesMut};
use std::ops::Deref;

use cardano::{block::{self, HeaderHash}, tx::Tx};
use cardano::{block::{self, HeaderHash}, tx::TxAux};
use cbor_event::{
self,
de::{self, RawCbor},
Expand Down Expand Up @@ -91,7 +91,7 @@ pub enum Message {
BlockHeaders(nt::LightWeightConnectionId, Response<BlockHeaders, String>),
GetBlocks(nt::LightWeightConnectionId, GetBlocks),
Block(nt::LightWeightConnectionId, Response<Block, String>),
SendTransaction(nt::LightWeightConnectionId, Tx),
SendTransaction(nt::LightWeightConnectionId, TxAux),
TransactionReceived(nt::LightWeightConnectionId, Response<bool, String>),
Subscribe(nt::LightWeightConnectionId, KeepAlive),
Bytes(nt::LightWeightConnectionId, Bytes),
Expand Down
4 changes: 2 additions & 2 deletions protocol-tokio/src/protocol/inbound_stream.rs
Expand Up @@ -5,7 +5,7 @@ use std::{
sync::{Arc, Mutex},
};
use tokio_io::AsyncRead;
use cardano::tx::{Tx};
use cardano::tx::{TxAux};
use super::{nt, ConnectionState, LightWeightConnectionState, Message, NodeId, Response, KeepAlive};
use super::{Block, BlockHeaders, GetBlockHeaders, GetBlocks};

Expand Down Expand Up @@ -52,7 +52,7 @@ pub enum Inbound {
BlockHeaders(nt::LightWeightConnectionId, Response<BlockHeaders, String>),
GetBlocks(nt::LightWeightConnectionId, GetBlocks),
Block(nt::LightWeightConnectionId, Response<Block, String>),
SendTransaction(nt::LightWeightConnectionId, Tx),
SendTransaction(nt::LightWeightConnectionId, TxAux),
TransactionReceived(nt::LightWeightConnectionId, Response<bool, String>),
Subscribe(nt::LightWeightConnectionId, KeepAlive),
Data(nt::LightWeightConnectionId, Bytes),
Expand Down

0 comments on commit 7b07bd0

Please sign in to comment.