File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ impl<T: JsonRpcClient + 'static + Clone> SignablePythContractInner<T> {
8383 {
8484 // Extract Log from TransactionReceipt.
8585 let l: RawLog = r. logs [ 0 ] . clone ( ) . into ( ) ;
86- if let PythRandomEvents :: RequestedFilter ( r) = PythRandomEvents :: decode_log ( & l) ? {
86+ if let PythRandomEvents :: Requested1Filter ( r) = PythRandomEvents :: decode_log ( & l) ? {
8787 Ok ( r. request . sequence_number )
8888 } else {
8989 Err ( anyhow ! ( "No log with sequence number" ) )
@@ -147,7 +147,7 @@ impl<T: JsonRpcClient + 'static + Clone> SignablePythContractInner<T> {
147147 . await ?
148148 . await ?
149149 {
150- if let PythRandomEvents :: RevealedFilter ( r) =
150+ if let PythRandomEvents :: Revealed1Filter ( r) =
151151 PythRandomEvents :: decode_log ( & r. logs [ 0 ] . clone ( ) . into ( ) ) ?
152152 {
153153 Ok ( r. random_number )
You can’t perform that action at this time.
0 commit comments