Browse Source

Extract decode-error from solana-program (#1813)

* extract decode-error crate

* update decode_error dependents and re-export in sdk and program

* fmt

* fix bad import after rebase
Kevin Heavey 1 year ago
parent
commit
9ef32b02d4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      interface/src/instruction.rs

+ 1 - 1
interface/src/instruction.rs

@@ -42,7 +42,6 @@
 #[allow(deprecated)]
 use {
     crate::{
-        decode_error::DecodeError,
         instruction::{AccountMeta, Instruction},
         nonce,
         pubkey::Pubkey,
@@ -50,6 +49,7 @@ use {
         sysvar::{recent_blockhashes, rent},
     },
     num_derive::{FromPrimitive, ToPrimitive},
+    solana_decode_error::DecodeError,
     thiserror::Error,
 };